From 9e7cd9456532caa7b255978b4b435418c04e0db9 Mon Sep 17 00:00:00 2001 From: James Augustine Date: Wed, 16 Dec 2015 14:56:11 -0600 Subject: 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 Reviewed-on: http://review.gluster.org/12988 Reviewed-by: Niels de Vos Tested-by: Niels de Vos --- xlators/mount/fuse/utils/mount.glusterfs.in | 1 - 1 file changed, 1 deletion(-) (limited to 'xlators/mount/fuse/utils/mount.glusterfs.in') 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; -- cgit