Rename variables

This commit is contained in:
chrislusf
2015-05-23 10:16:01 -07:00
parent d3d23e779a
commit 8f88d382a5
2 changed files with 10 additions and 10 deletions

View File

@@ -25,8 +25,8 @@ func (v *Volume) Compact() error {
}
func (v *Volume) commitCompact() error {
glog.V(3).Infof("Committing vacuuming...")
v.accessLock.Lock()
defer v.accessLock.Unlock()
v.dataFileAccessLock.Lock()
defer v.dataFileAccessLock.Unlock()
glog.V(3).Infof("Got Committing lock...")
_ = v.dataFile.Close()
var e error