Merge pull request #5680 from alexlarsson/dm-remove-spew

devmapper: Remove accidental debug spew
This commit is contained in:
Victor Vieux 2014-05-08 10:32:11 -07:00
commit 8d3c5b7dca
1 changed files with 0 additions and 3 deletions

View File

@ -340,8 +340,6 @@ func (devices *DeviceSet) loadMetadata(hash string) *DevInfo {
return nil
}
fmt.Printf("Loaded metadata %v\n", info)
// If the transaction id is larger than the actual one we lost the device due to some crash
if info.TransactionId > devices.TransactionId {
return nil
@ -352,7 +350,6 @@ func (devices *DeviceSet) loadMetadata(hash string) *DevInfo {
func (devices *DeviceSet) setupBaseImage() error {
oldInfo, _ := devices.lookupDevice("")
utils.Debugf("oldInfo: %p", oldInfo)
if oldInfo != nil && oldInfo.Initialized {
return nil
}