aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_linux.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-21 19:14:25 -0700
committerChris Lu <chris.lu@gmail.com>2020-03-21 19:14:25 -0700
commit7c111f7b75ba2b0a95766897503997d65d05b42c (patch)
tree0fe77e16a6ba8bf136acaa5aeb4fb7e5eb30f3aa /weed/command/mount_linux.go
parent3b3e063f25ee3ff58f3beab4d4197fb2d2d19eec (diff)
downloadseaweedfs-7c111f7b75ba2b0a95766897503997d65d05b42c.tar.xz
seaweedfs-7c111f7b75ba2b0a95766897503997d65d05b42c.zip
FUSE mount: make "nonempty" optional
https://github.com/chrislusf/seaweedfs/issues/1094
Diffstat (limited to 'weed/command/mount_linux.go')
-rw-r--r--weed/command/mount_linux.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/command/mount_linux.go b/weed/command/mount_linux.go
index 80a5f9da4..25c4f72cf 100644
--- a/weed/command/mount_linux.go
+++ b/weed/command/mount_linux.go
@@ -138,9 +138,7 @@ func parseInfoFile(r io.Reader) ([]*Info, error) {
}
func osSpecificMountOptions() []fuse.MountOption {
- return []fuse.MountOption{
- fuse.AllowNonEmptyMount(),
- }
+ return []fuse.MountOption{}
}
func checkMountPointAvailable(dir string) bool {