// If the stop is 1, we do not delete the pool data. Or just delete it. func (daemon *Daemon) CleanVolume(stop int) error { if daemon.Storage.StorageType == "devicemapper" { if stop == 0 { return dm.DMCleanup(daemon.Storage.DmPoolData) } } return nil }
func (dms *DevMapperStorage) CleanUp() error { return dm.DMCleanup(dms.DmPoolData) }