Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
Fixed wrong key eviction when calling mkdir
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lucas <xavier.lucas@corp.ovh.com>
  • Loading branch information
Xavier Lucas committed Feb 22, 2016
1 parent bf0163c commit d98d365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svfs/directory.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (d *Directory) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (fs.Node,
}

// Cache eviction
EntryCache.Delete("", d.path)
EntryCache.Delete(d.c.Name, d.path)

// Directory object
return &Directory{
Expand Down

0 comments on commit d98d365

Please sign in to comment.