mount: fix dir nil

This commit is contained in:
Chris Lu 2019-12-17 13:50:30 -08:00
parent 93b9d88528
commit f27a1abf1c

View file

@ -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
}