mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
XL: Cleanup, comments and all the updated functions. (#1830)
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ func (n *nsLockMap) lock(volume, path string, readLock bool) {
|
||||
}
|
||||
n.lockMap[param] = nsLk
|
||||
}
|
||||
nsLk.ref++
|
||||
nsLk.ref++ // Update ref count here to avoid multiple races.
|
||||
// Unlock map before Locking NS which might block.
|
||||
n.mutex.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user