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>
Fri, 31 May 2013 16:35:56 +0000 (12:35 -0400)
commit90e694d5d2d9c46bab7d3f5baacfb3f610653f70
tree549006b99955e5b53de359304bfb8ede86b1fc27
parentd46a76cd7bb2b657a6daabbe18b993abeedb2d94
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