mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 23:30:36 +08:00
refactor: moved to locked entry
This commit is contained in:
@@ -49,7 +49,7 @@ func (wfs *WFS) Write(cancel <-chan struct{}, in *fuse.WriteIn, data []byte) (wr
|
||||
fh.orderedMutex.Acquire(context.Background(), 1)
|
||||
defer fh.orderedMutex.Release(1)
|
||||
|
||||
entry := fh.entry
|
||||
entry := fh.GetEntry()
|
||||
if entry == nil {
|
||||
return 0, fuse.OK
|
||||
}
|
||||
|
Reference in New Issue
Block a user