|
|
@ -217,10 +217,9 @@ func (file *File) Fsync(ctx context.Context, req *fuse.FsyncRequest) error { |
|
|
|
} |
|
|
|
|
|
|
|
func (file *File) Forget() { |
|
|
|
glog.V(3).Infof("Forget file %s/%s", file.dir.FullPath(), file.Name) |
|
|
|
|
|
|
|
file.wfs.fsNodeCache.DeleteFsNode(util.NewFullPath(file.dir.FullPath(), file.Name)) |
|
|
|
|
|
|
|
t := util.NewFullPath(file.dir.FullPath(), file.Name) |
|
|
|
glog.V(3).Infof("Forget file %s", t) |
|
|
|
file.wfs.fsNodeCache.DeleteFsNode(t) |
|
|
|
} |
|
|
|
|
|
|
|
func (file *File) maybeLoadEntry(ctx context.Context) error { |
|
|
|