1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvconvert: change error message

for implicit pool conversion since it's also used
when the lv is already a pool
This commit is contained in:
David Teigland 2016-07-22 10:00:24 -05:00
parent 7fc1617819
commit 2c3b92b550

View File

@ -3913,7 +3913,7 @@ static int _convert_striped_thin(struct cmd_context *cmd, struct logical_volume
{ {
/* lvconvert --thin includes an implicit conversion of the thinpool arg to type thin-pool. */ /* lvconvert --thin includes an implicit conversion of the thinpool arg to type thin-pool. */
if (!_lvconvert_pool(cmd, lv, lp)) { if (!_lvconvert_pool(cmd, lv, lp)) {
log_error("Implicit conversion of --thinpool arg to type thin-pool failed."); log_error("Conversion of --thinpool arg to type thin-pool failed.");
return 0; return 0;
} }
@ -3939,7 +3939,7 @@ static int _convert_striped_cache(struct cmd_context *cmd, struct logical_volume
{ {
/* lvconvert --cache includes an implicit conversion of the cachepool arg to type cache-pool. */ /* lvconvert --cache includes an implicit conversion of the cachepool arg to type cache-pool. */
if (!_lvconvert_pool(cmd, lv, lp)) { if (!_lvconvert_pool(cmd, lv, lp)) {
log_error("Implicit conversion of --cachepool arg to type cache-pool failed."); log_error("Conversion of --cachepool arg to type cache-pool failed.");
return 0; return 0;
} }