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

lv_resize: use 'bad' code path for error case

This commit is contained in:
Zdenek Kabelac 2021-02-07 00:39:13 +01:00
parent eed060f040
commit bdc2f4c704

View File

@ -6133,7 +6133,7 @@ out:
if (lp->resizefs && (lp->resize == LV_EXTEND) &&
!_fsadm_cmd(FSADM_CMD_RESIZE, lv, lp->extents, lp->yes, lp->force, NULL))
return_0;
goto_bad;
ret = 1;
bad: