Whamcloud - gitweb
LU-3162 lov: Get the correct address of lmm_objects 58/7258/2
authorSwapnil Pimpale <spimpale@ddn.com>
Wed, 7 Aug 2013 11:21:36 +0000 (16:51 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 17 Aug 2013 05:39:46 +0000 (05:39 +0000)
commitb3edbd0f5f9ef10941b98f2b82606916b850374a
tree5ebe399e46830c4144c838ee0a6a14d78fe8ac00
parent0a56d6db644b4009519429ba1b1463c7dd788167
LU-3162 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>
Change-Id: I6eba151a54862fde60f4382df92864a52bb12530
Reviewed-on: http://review.whamcloud.com/7258
Tested-by: Hudson
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/lov/lov_pack.c