From 261147620a43aa415b7e8f11d51a89557846b1c4 Mon Sep 17 00:00:00 2001 From: Raghavendra Gowdappa Date: Fri, 8 Feb 2019 17:39:49 +0530 Subject: 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 updates: bz#1664934 --- xlators/mount/fuse/utils/mount.glusterfs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/mount') 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 -- cgit