mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 11:47:56 +08:00
remove ctx
This commit is contained in:
@@ -354,7 +354,7 @@ func (dir *Dir) Setattr(ctx context.Context, req *fuse.SetattrRequest, resp *fus
|
||||
|
||||
dir.wfs.cacheDelete(filer2.FullPath(dir.Path))
|
||||
|
||||
return dir.saveEntry(ctx)
|
||||
return dir.saveEntry()
|
||||
|
||||
}
|
||||
|
||||
@@ -372,7 +372,7 @@ func (dir *Dir) Setxattr(ctx context.Context, req *fuse.SetxattrRequest) error {
|
||||
|
||||
dir.wfs.cacheDelete(filer2.FullPath(dir.Path))
|
||||
|
||||
return dir.saveEntry(ctx)
|
||||
return dir.saveEntry()
|
||||
|
||||
}
|
||||
|
||||
@@ -390,7 +390,7 @@ func (dir *Dir) Removexattr(ctx context.Context, req *fuse.RemovexattrRequest) e
|
||||
|
||||
dir.wfs.cacheDelete(filer2.FullPath(dir.Path))
|
||||
|
||||
return dir.saveEntry(ctx)
|
||||
return dir.saveEntry()
|
||||
|
||||
}
|
||||
|
||||
@@ -428,7 +428,7 @@ func (dir *Dir) maybeLoadEntry() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (dir *Dir) saveEntry(ctx context.Context) error {
|
||||
func (dir *Dir) saveEntry() error {
|
||||
|
||||
parentDir, name := filer2.FullPath(dir.Path).DirAndName()
|
||||
|
||||
|
Reference in New Issue
Block a user