summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lubo.rintel@gooddata.com>2012-08-29 16:51:50 +0200
committerAnand Avati <avati@redhat.com>2012-09-06 18:25:58 -0700
commitb46e98787f735f6b7cd434e4eeb7f8f011a6e63b (patch)
treefb971e86cd37de2e2dbbcd2dc6008c085155abd3
parentdd7bc2d8834e02eef4a98d26e2bfb21ab7695539 (diff)
mount.glusterfs: Ignore noauto and _netdev options
BUG: 827121 Change-Id: Icab4ca9adecc7b9d62e3d5e7d161c442f16ad940 Signed-off-by: Lubomir Rintel <lubo.rintel@gooddata.com> Reviewed-on: http://review.gluster.org/3873 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com>
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index 3bbbc3a06e9..cb0f65b8e93 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -320,6 +320,9 @@ main ()
"fopen-keep-cache") fopen_keep_cache=1 ;;
# "mount -t glusterfs" sends this, but it's useless.
"rw") ;;
+ # these ones are interpreted during system initialization
+ "noauto") ;;
+ "_netdev") ;;
*)
key=$(echo "$pair" | cut -f1 -d'=');
value=$(echo "$pair" | cut -f2- -d'=');