diff options
author | Raghavendra Gowdappa <rgowdapp@redhat.com> | 2019-02-08 17:39:49 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2019-02-18 14:44:27 +0000 |
commit | beca73e04dfd92964db26aa46c10d704e47717d4 (patch) | |
tree | 84cd55c36aedff2e11eb238ceb7c990047c7d644 /xlators/mount | |
parent | e571233df3ea247eaf2ae5e06c331060dc75f9d3 (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#1674364
Diffstat (limited to 'xlators/mount')
-rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 2 |
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 |