mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Stop processing lvextend if trying to extend a mirror that is being recovered.
Missing correct return value in lv_extend fn.
This commit is contained in:
parent
b93c1332d1
commit
5fa417a9c0
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.91 -
|
Version 2.02.91 -
|
||||||
===================================
|
===================================
|
||||||
|
Stop processing lvextend if trying to extend a mirror that is being recovered.
|
||||||
Add pool_below_threshold() function to check thin pool percent status.
|
Add pool_below_threshold() function to check thin pool percent status.
|
||||||
Fix test for snap percent for failing merge when removing LV.
|
Fix test for snap percent for failing merge when removing LV.
|
||||||
Switch int to void return for str_list_del().
|
Switch int to void return for str_list_del().
|
||||||
|
@ -2674,6 +2674,7 @@ int lv_extend(struct logical_volume *lv,
|
|||||||
log_error("%s/%s cannot be extended while"
|
log_error("%s/%s cannot be extended while"
|
||||||
" it is recovering.",
|
" it is recovering.",
|
||||||
lv->vg->name, lv->name);
|
lv->vg->name, lv->name);
|
||||||
|
r = 0;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user