Whamcloud - gitweb
LU-2008 utils: quote TUNE2FS options in ldiskfs_label_lustre
authorJian Yu <jian.yu@intel.com>
Wed, 17 Apr 2013 14:46:16 +0000 (22:46 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 1 Jun 2013 02:22:30 +0000 (22:22 -0400)
commite13b2a1f5ee9bcbaecdcf8779d87975aebd40e2e
tree3139e85ded1a19b0660825b2ca04781792c1c40c
parent658bcdbbe47e6e4390721b793d4515cc9ec6cadb
LU-2008 utils: quote TUNE2FS options in ldiskfs_label_lustre

This patch improves ldiskfs_label_lustre() to quote the options
for TUNE2FS in case the label contains space(s).

Test-Parameters: envdefinitions=SLOW=yes \
clientcount=4 osscount=2 mdscount=2 \
austeroptions=-R failover=true useiscsi=true \
testlist=mmp

Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I3eaeb604517dba29e07f9750aeb3afed9443e94f
Reviewed-on: http://review.whamcloud.com/6077
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Li Wei <wei.g.li@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/mount_utils_ldiskfs.c