summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse
diff options
context:
space:
mode:
authorRaghavendra Gowdappa <rgowdapp@redhat.com>2019-02-08 17:39:49 +0530
committerRaghavendra G <rgowdapp@redhat.com>2019-02-09 18:41:12 +0000
commit261147620a43aa415b7e8f11d51a89557846b1c4 (patch)
tree3e51287fe847cda883f4f89edda5850189144521 /xlators/mount/fuse
parent12af2067a82e37079e76723d3e25ba1c72ca078a (diff)
mount/fuse: fix bug related to --auto-invalidation in mount script
When "auto-invalidation" option was not specified for mount script, glusterfs cmdline ended with "--auto-invalidation=" option. This patch fixes that bug in mount script. Thanks to Amar for reporting it. Change-Id: Ie5cd4c6ffb3ac644d9d2b032035f914a935d05a8 Signed-off-by: Raghavendra Gowdappa <rgowdapp@redhat.com> updates: bz#1664934
Diffstat (limited to 'xlators/mount/fuse')
-rwxr-xr-xxlators/mount/fuse/utils/mount.glusterfs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in
index 868a57f7ede..3f5d76d2e93 100755
--- a/xlators/mount/fuse/utils/mount.glusterfs.in
+++ b/xlators/mount/fuse/utils/mount.glusterfs.in
@@ -229,7 +229,7 @@ start_glusterfs ()
cmd_line=$(echo "$cmd_line --reader-thread-count=$reader_thread_count");
fi
- if [ -n "$auto-invalidation" ]; then
+ if [ -n "$fuse_auto_invalidation" ]; then
cmd_line=$(echo "$cmd_line --auto-invalidation=$fuse_auto_invalidation");
fi