Merge pull request #10222 from vbatts/vbatts-dm_flag_and_output
dm flag and output
This commit is contained in:
commit
99232a99a9
2 changed files with 3 additions and 2 deletions
|
@ -341,8 +341,8 @@ func UdevSetSyncSupport(enable bool) bool {
|
|||
|
||||
// Useful helper for cleanup
|
||||
func RemoveDevice(name string) error {
|
||||
log.Debugf("[devmapper] RemoveDevice START")
|
||||
defer log.Debugf("[devmapper] RemoveDevice END")
|
||||
log.Debugf("[devmapper] RemoveDevice START(%s)", name)
|
||||
defer log.Debugf("[devmapper] RemoveDevice END(%s)", name)
|
||||
task, err := TaskCreateNamed(DeviceRemove, name)
|
||||
if task == nil {
|
||||
return err
|
||||
|
|
|
@ -86,6 +86,7 @@ const (
|
|||
DmUdevDisableSubsystemRulesFlag = C.DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG
|
||||
DmUdevDisableDiskRulesFlag = C.DM_UDEV_DISABLE_DISK_RULES_FLAG
|
||||
DmUdevDisableOtherRulesFlag = C.DM_UDEV_DISABLE_OTHER_RULES_FLAG
|
||||
DmUdevDisableLibraryFallback = C.DM_UDEV_DISABLE_LIBRARY_FALLBACK
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Loading…
Reference in a new issue