From: Yu Jian Date: Mon, 18 Apr 2011 08:38:39 +0000 (+0800) Subject: LU-203 pass client mount options to zconf_mount_clients() correctly X-Git-Tag: 2.0.60.0~26 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=5872f585d91d277ffc27e703c1564c361f3a8a23 LU-203 pass client mount options to zconf_mount_clients() correctly Quote the third argument and pass it to zconf_mount_clients(). Signed-off-by: Yu Jian Change-Id: Ia29f2440894a9ec7a38615295ab1cd595d50c66f Reviewed-on: http://review.whamcloud.com/430 Tested-by: Hudson Reviewed-by: Chris Gearing Reviewed-by: Brian J. Murrell Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/parallel-scale.sh b/lustre/tests/parallel-scale.sh index b64b78c..9fb568f 100644 --- a/lustre/tests/parallel-scale.sh +++ b/lustre/tests/parallel-scale.sh @@ -596,12 +596,12 @@ test_statahead () { local num_mntpts=$statahead_NUMMNTPTS local mntpt_root=$TMP/mntpt/lustre - mntopts=${MNTOPTSTATAHEAD:-$MOUNTOPT} + local mntopts=${MNTOPTSTATAHEAD:-$MOUNTOPT} echo "Mounting $num_mntpts lustre clients starts on $clients" trap "cleanup_statahead $clients $mntpt_root $num_mntpts" EXIT ERR for i in $(seq 0 $num_mntpts); do - zconf_mount_clients $clients ${mntpt_root}$i $mntopts || + zconf_mount_clients $clients ${mntpt_root}$i "$mntopts" || error_exit "Failed to mount lustre on ${mntpt_root}$i on $clients" done