remove empty calls for list cache

This commit is contained in:
Chris Lu
2020-06-28 10:25:54 -07:00
parent 6498d0c86b
commit 95a1860d65
5 changed files with 1 additions and 34 deletions

View File

@@ -150,8 +150,6 @@ func (file *File) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *f
return nil
}
file.wfs.cacheDelete(file.fullpath())
return file.saveEntry()
}
@@ -168,8 +166,6 @@ func (file *File) Setxattr(ctx context.Context, req *fuse.SetxattrRequest) error
return err
}
file.wfs.cacheDelete(file.fullpath())
return file.saveEntry()
}
@@ -186,8 +182,6 @@ func (file *File) Removexattr(ctx context.Context, req *fuse.RemovexattrRequest)
return err
}
file.wfs.cacheDelete(file.fullpath())
return file.saveEntry()
}