Whamcloud - gitweb
LU-6674 utils: fix of uninitilized lmm structure usage 09/15109/4
authorDmitry Eremin <dmitry.eremin@intel.com>
Tue, 2 Jun 2015 17:17:46 +0000 (20:17 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 8 Jul 2015 17:12:49 +0000 (17:12 +0000)
commit486d2797fc0d04e2482ecd4c7100919c55d07277
treef638e245ed58824b6d3e1baa187a41e6913fbab8
parenta27201d13828d4b9bae9261dcc552c1f767aff21
LU-6674 utils: fix of uninitilized lmm structure usage

Fill with "fake" the "use the default" values since the lmm struct
is zeroed out at this point and not filled by ioctl.

Change-Id: I9df005446c5d03bdf561823842afe98ab8d352c1
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: http://review.whamcloud.com/15109
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/liblustreapi.c