diff options
| author | chrislu <chris.lu@gmail.com> | 2023-09-23 12:13:32 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-09-23 12:13:32 -0700 |
| commit | 322af1fc0477c66c748d0e1f2195ad5bee5821a5 (patch) | |
| tree | 727a922c8d3f8df01dc22cf9ab37b06c73356865 | |
| parent | 0414b68a4f89bcfe13d179fe54456fe79368f521 (diff) | |
| download | seaweedfs-322af1fc0477c66c748d0e1f2195ad5bee5821a5.tar.xz seaweedfs-322af1fc0477c66c748d0e1f2195ad5bee5821a5.zip | |
fix compilation
| -rw-r--r-- | weed/util/lock_table.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/lock_table.go b/weed/util/lock_table.go index 24a500caf..b27104a11 100644 --- a/weed/util/lock_table.go +++ b/weed/util/lock_table.go @@ -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() |
