From ebda0689aba36fe1a0cdd7b8449655fa0ca00184 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sat, 23 Jul 2022 10:51:06 -0700 Subject: [PATCH] use linux default max name length --- weed/mount/wfs_save.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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