adjust function name

This commit is contained in:
Chris Lu
2013-11-18 15:05:11 -08:00
parent 3b68711139
commit aed74b5568
2 changed files with 4 additions and 4 deletions

View File

@@ -299,7 +299,7 @@ func (v *Volume) freeze() error {
}
v.accessLock.Lock()
defer v.accessLock.Unlock()
bn, _ := nakeFilename(v.dataFile.Name())
bn, _ := baseFilename(v.dataFile.Name())
cdbFn := bn + ".cdb"
glog.V(0).Infof("converting %s to %s", nm.indexFile.Name(), cdbFn)
err := DumpNeedleMapToCdb(cdbFn, nm)