summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Augustine <jcaugust81@gmail.com>2015-12-16 14:56:11 -0600
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-01-10 11:28:43 -0800
commit9e7cd9456532caa7b255978b4b435418c04e0db9 (patch)
treea06badb5577a4bca358514e1837555715dac05fe
parentd5d6918ce7dc9f54496da435af546611dfbe7d5c (diff)
no-mtab (-n) mount option ignore next mount option
The -n option does not take any arguments. It seems like this shift is removing the next option. On my CentOS 7 system, automount calls mount.glusterfs with the parameters: host:/volume /mountpoint -n -o rw,acl,_netdev This causes the -o option to be siliently ignored. Change-Id: Ice3c877f6ab346b04292e3dfed968d04d15077a5 BUG: 1297195 Signed-off-by: James Augustine <jcaugust81@gmail.com> Reviewed-on: http://review.gluster.org/12988 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Niels de Vos <ndevos@redhat.com>
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index ae3a075f9a8..7f314da69ec 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -573,7 +573,6 @@ main ()
shift 2;
;;
n)
- shift 1;
;;
V)
${cmd_line} -V;