mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-25 03:29:10 +08:00
mount: fix dir nil
This commit is contained in:
parent
93b9d88528
commit
f27a1abf1c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user