mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 06:27:55 +08:00
use linux default max name length
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user