Whamcloud - gitweb
LU-14012 lod: properly initialize lcm in lod_layout_convert() 53/40153/2
authorJohn L. Hammond <jhammond@whamcloud.com>
Tue, 6 Oct 2020 19:14:29 +0000 (14:14 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 19 Oct 2020 03:13:50 +0000 (03:13 +0000)
commit6f2a1c911f0a326765e6d11f35bb602daf057948
tree55fd2931ff2a2fdc2e09f53f62b7a87b0c6e7376
parentb432e96cca6e4e15880116b332eb1ccee62424b6
LU-14012 lod: properly initialize lcm in lod_layout_convert()

In lod_layout_convert() zero out lcm and lcme before constructing the
converted layout.

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I40f96d51cb63816a9bfc34217f02ff7c450de974
Reviewed-on: https://review.whamcloud.com/40153
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/lod/lod_object.c