Browse Source

use linux default max name length

pull/3354/head
chrislu 3 years ago
parent
commit
ebda0689ab
  1. 2
      weed/mount/wfs_save.go

2
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

Loading…
Cancel
Save