aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs_attr.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-12-05 20:20:44 -0800
committerchrislu <chris.lu@gmail.com>2022-12-05 20:20:44 -0800
commit4f15a52044fbbc664b0c49ca6eb3ac512c93e331 (patch)
tree32f17c5df1beab8ea2ea21b2e3d4f508a855875d /weed/mount/weedfs_attr.go
parentdac9c28d05cd61402cf5fbac42507b49b5a4f7a5 (diff)
downloadseaweedfs-origin/testing.tar.xz
seaweedfs-origin/testing.zip
temp disable lockingorigin/testing
Diffstat (limited to 'weed/mount/weedfs_attr.go')
-rw-r--r--weed/mount/weedfs_attr.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/mount/weedfs_attr.go b/weed/mount/weedfs_attr.go
index 1d58e0852..013334540 100644
--- a/weed/mount/weedfs_attr.go
+++ b/weed/mount/weedfs_attr.go
@@ -45,8 +45,8 @@ func (wfs *WFS) SetAttr(cancel <-chan struct{}, input *fuse.SetAttrIn, out *fuse
return status
}
if fh != nil {
- fh.entryLock.Lock()
- defer fh.entryLock.Unlock()
+ //fh.entryLock.Lock()
+ //defer fh.entryLock.Unlock()
}
if size, ok := input.GetSize(); ok && entry != nil {