Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
lixiaobing10051267 authored on 2016/12/20 17:05:29... | ... |
@@ -505,7 +505,7 @@ func ReloadPool(poolName string, dataFile, metadataFile *os.File, poolBlockSize |
505 | 505 |
} |
506 | 506 |
|
507 | 507 |
if err := task.run(); err != nil { |
508 |
- return fmt.Errorf("devicemapper: Error running deviceCreate %s", err) |
|
508 |
+ return fmt.Errorf("devicemapper: Error running ReloadPool %s", err) |
|
509 | 509 |
} |
510 | 510 |
|
511 | 511 |
return nil |
... | ... |
@@ -792,7 +792,7 @@ func CreateSnapDeviceRaw(poolName string, deviceID int, baseDeviceID int) error |
792 | 792 |
if dmSawExist { |
793 | 793 |
return ErrDeviceIDExists |
794 | 794 |
} |
795 |
- return fmt.Errorf("devicemapper: Error running deviceCreate (createSnapDevice) %s", err) |
|
795 |
+ return fmt.Errorf("devicemapper: Error running deviceCreate (CreateSnapDeviceRaw) %s", err) |
|
796 | 796 |
} |
797 | 797 |
|
798 | 798 |
return nil |