aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/wfs_save.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-07-23 10:51:06 -0700
committerchrislu <chris.lu@gmail.com>2022-07-23 10:51:06 -0700
commitebda0689aba36fe1a0cdd7b8449655fa0ca00184 (patch)
treedb75d98d7557edb44bb8d90f45dec2d50b450583 /weed/mount/wfs_save.go
parent64f3d6fb6e1acb007b3e4726962c7ea35bacc4c4 (diff)
downloadseaweedfs-ebda0689aba36fe1a0cdd7b8449655fa0ca00184.tar.xz
seaweedfs-ebda0689aba36fe1a0cdd7b8449655fa0ca00184.zip
use linux default max name length
Diffstat (limited to 'weed/mount/wfs_save.go')
-rw-r--r--weed/mount/wfs_save.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/mount/wfs_save.go b/weed/mount/wfs_save.go
index 0cac30453..964f1713d 100644
--- a/weed/mount/wfs_save.go
+++ b/weed/mount/wfs_save.go
@@ -60,7 +60,7 @@ func (wfs *WFS) mapPbIdFromLocalToFiler(entry *filer_pb.Entry) {
}
func checkName(name string) fuse.Status {
- if len(name) >= 256 {
+ if len(name) >= 4096 {
return fuse.Status(syscall.ENAMETOOLONG)
}
return fuse.OK