diff options
| author | John L. Hammond <john.hammond@intel.com> | 2016-09-18 16:37:11 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-19 09:37:45 +0200 |
| commit | 212f6c7fcf06ecbe2d47d5e22f0068d035d5ee34 (patch) | |
| tree | d7bd1a06a199ce2ea4fbb7d58baaa68888341879 /tools/perf/scripts/python | |
| parent | 47137ad380a4d4c738f246bd792b76fd403219ce (diff) | |
| download | linux-212f6c7fcf06ecbe2d47d5e22f0068d035d5ee34.tar.gz linux-212f6c7fcf06ecbe2d47d5e22f0068d035d5ee34.zip | |
staging: lustre: lmv: fix some byte order issues
In the handler for LL_IOC_LMV_GETSTRIPE convert stripe FIDs from
little to CPU endian when unpacking lmv_user_md. In lmv_unpack_md_v1()
fix a double conversion of the stripe count.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5342
Reviewed-on: http://review.whamcloud.com/11106
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Jian Yu <jian.yu@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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
