XL: Cleanup, comments and all the updated functions. (#1830)

This commit is contained in:
Harshavardhana
2016-06-01 16:43:31 -07:00
parent 9b79760dcf
commit ae311aa53b
17 changed files with 854 additions and 822 deletions
+1 -1
View File
@@ -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()