mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
if dir.entry == nil {
|
||||||
|
return fuse.ENOENT
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue