]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: mdc: Proper accessing struct lov_user_md
authorYoshifumi Uemura <kogexe@gmail.com>
Sun, 18 Sep 2016 20:38:21 +0000 (16:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Sep 2016 07:53:45 +0000 (09:53 +0200)
commitd9faf3c578fcdb6a6641bbd6a48f07bbaeae30b7
treeb5dfa61bf6ec11e30f8e62e3bf158a87240c7970
parentb4740aba7a8d7022469e190beff8967809fe768b
staging: lustre: mdc: Proper accessing struct lov_user_md

In mdc_setattr_pack() access the members of struct lov_user_md by
little endian byte order.

Signed-off-by: Yoshifumi Uemura <kogexe@gmail.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5889
Reviewed-on: http://review.whamcloud.com/12683
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_lib.c