use linux default max name length

This commit is contained in:
chrislu 2022-07-23 10:51:06 -07:00
parent 64f3d6fb6e
commit ebda0689ab

View file

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