1
0
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:
Peter Rajnoha 2012-02-09 15:13:42 +00:00
parent b93c1332d1
commit 5fa417a9c0
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
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.
Fix test for snap percent for failing merge when removing LV.
Switch int to void return for str_list_del().

View File

@ -2674,6 +2674,7 @@ int lv_extend(struct logical_volume *lv,
log_error("%s/%s cannot be extended while"
" it is recovering.",
lv->vg->name, lv->name);
r = 0;
goto out;
}
}