aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohn L. Hammond <[email protected]>2016-08-16 16:18:41 -0400
committerGreg Kroah-Hartman <[email protected]>2016-08-21 15:57:35 +0200
commit5e01c959b1ecf7d8bfa16d53ed2e010dd087c097 (patch)
tree38b1a16adbd5fdb7dbe1985570b1dafc99376efb /tools/perf/scripts/python/stackcollapse.py
parent5ec35d4538891c97ebfdb7f1a5db8984306aa310 (diff)
staging: lustre: lmv: access lum_stripe_offset as little endian
By the time that a struct lmv_user_md reaches lmv_placement_policy() it has already been converted to little endian. Therefore use the appropriate macros around accesses to this this field. This issue was found by rewriting the definition of struct lmv_user_md to use the __leXX typedefs and running sparse. Signed-off-by: John L. Hammond <[email protected]> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4738 Reviewed-on: http://review.whamcloud.com/9671 Reviewed-by: Dmitry Eremin <[email protected]> Reviewed-by: Swapnil Pimpale <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: James Simmons <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions