diff options
| author | chrislu <chris.lu@gmail.com> | 2022-09-30 08:40:37 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-09-30 08:40:37 -0700 |
| commit | 8e81619d0260f8023564a9897a76127e28851e00 (patch) | |
| tree | 4ffc2eb2c955b860b5f50877c7e8604477b60428 /weed/command/mount_std.go | |
| parent | 620be2be16ea6cf4b6f428f3334fa34035a88736 (diff) | |
| download | seaweedfs-8e81619d0260f8023564a9897a76127e28851e00.tar.xz seaweedfs-8e81619d0260f8023564a9897a76127e28851e00.zip | |
mount: accept all extra mount options
fix https://github.com/seaweedfs/seaweedfs/issues/3767
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 5226e708b..40b285ccf 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -166,7 +166,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { // mount fuse fuseMountOptions := &fuse.MountOptions{ AllowOther: *option.allowOthers, - Options: nil, + Options: option.extraOptions, MaxBackground: 128, MaxWrite: 1024 * 1024 * 2, MaxReadAhead: 1024 * 1024 * 2, |
