staging: lustre: lov: Get the correct address of lmm_objects
authorSwapnil Pimpale <spimpale@ddn.com>
Tue, 5 Apr 2016 01:36:54 +0000 (21:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 03:47:04 +0000 (20:47 -0700)
commit98b29828b71b19963f3b818bdbc3e8b32ffaa761
tree5c0aac8ad63c4a8402891f7c28fb12a9296703c2
parentc5300d55e2d5769ff4cffce3e667d991ed30eac8
staging: lustre: lov: Get the correct address of lmm_objects

The introduction of lmm_layout_gen makes the assumption that
lmm_objects is present after lmm_stripe_count incorrect.
Fixed this to get the correct address of lmm_objects when lmmk is cast
to lov_mds_md_v1.

Signed-off-by: Swapnil Pimpale <spimpale@ddn.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3162
Reviewed-on: http://review.whamcloud.com/7258
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_pack.c
This page took 0.024572 seconds and 5 git commands to generate.