mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 15:00:43 +02:00
fix compilation
This commit is contained in:
1 parent
0414b68a4f
commit
322af1fc04
1 file changed
+1
-1
@@ -61,7 +61,7 @@ func (lt *LockTable[T]) AcquireLock(intention string, key T, lockType LockType)
|
||||
}
|
||||
lt.mu.Unlock()
|
||||
|
||||
lock = lt.NewActiveLock(intention)
|
||||
lock = lt.NewActiveLock(intention, lockType)
|
||||
|
||||
// If the lock is held exclusively, wait
|
||||
entry.mu.Lock()
|
||||
|
||||
Reference in new issue
Block a user