aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/util/lock_table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/lock_table.go b/weed/util/lock_table.go
index 2e689d330..bf3da7c37 100644
--- a/weed/util/lock_table.go
+++ b/weed/util/lock_table.go
@@ -10,9 +10,9 @@ import (
// LockTable is a table of locks that can be acquired.
// Locks are acquired in order of request.
type LockTable[T comparable] struct {
+ lockIdSeq int64
mu sync.Mutex
locks map[T]*LockEntry
- lockIdSeq int64
}
type LockEntry struct {