Browse Source

mount: fix dir nil

pull/1165/head
Chris Lu 5 years ago
parent
commit
f27a1abf1c
  1. 3
      weed/filesys/dir.go

3
weed/filesys/dir.go

@ -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…
Cancel
Save