aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-09-23 10:35:29 -0700
committerchrislu <chris.lu@gmail.com>2023-09-23 10:35:29 -0700
commitca1a5457ae3ce8043170a052cc841e6c73023fd6 (patch)
treeb538f217f2c03209e5f7a999fab026d48e841845 /weed/mount/weedfs.go
parent186b1f029bcd67840803d8b611c571c186f52680 (diff)
downloadseaweedfs-origin/test-reverting-lock-table.tar.xz
seaweedfs-origin/test-reverting-lock-table.zip
only revert lock tableorigin/test-reverting-lock-table
Diffstat (limited to 'weed/mount/weedfs.go')
-rw-r--r--weed/mount/weedfs.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go
index de7502688..4ac01b3e6 100644
--- a/weed/mount/weedfs.go
+++ b/weed/mount/weedfs.go
@@ -78,7 +78,6 @@ type WFS struct {
dhmap *DirectoryHandleToInode
fuseServer *fuse.Server
IsOverQuota bool
- fhLockTable *util.LockTable[FileHandleId]
}
func NewSeaweedFileSystem(option *Option) *WFS {
@@ -89,7 +88,6 @@ func NewSeaweedFileSystem(option *Option) *WFS {
inodeToPath: NewInodeToPath(util.FullPath(option.FilerMountRootPath)),
fhmap: NewFileHandleToInode(),
dhmap: NewDirectoryHandleToInode(),
- fhLockTable: util.NewLockTable[FileHandleId](),
}
wfs.option.filerIndex = int32(rand.Intn(len(option.FilerAddresses)))