mount: accept all extra mount options

fix https://github.com/seaweedfs/seaweedfs/issues/3767
This commit is contained in:
chrislu
2022-09-30 08:40:37 -07:00
parent 620be2be16
commit 8e81619d02
3 changed files with 4 additions and 1 deletions

View File

@@ -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,