Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

mount: fix dir nil

Chris Luf27a1abf1ce1
diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go
index d57a16ca43..ba870d73fa 100644
--- a/weed/filesys/dir.go
+++ b/weed/filesys/dir.go
@@ -385,6 +385,9 @@ func (dir *Dir) maybeLoadEntry(ctx context.Context) error {
if err != nil {
return err
}
+ if dir.entry == nil {
+ return fuse.ENOENT
+ }
}
return nil
}