mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
lvresize: let pass even protected names like _tmeta
Only later validation can decide if the volume is actually restricted from being resized (unlike in lvcreate time).
This commit is contained in:
parent
1bb7a155d1
commit
7c921f18e2
@ -113,7 +113,7 @@ static int _lvresize_params(struct cmd_context *cmd, int argc, char **argv,
|
||||
|
||||
lp->lv_name = argv[0];
|
||||
|
||||
if (!validate_restricted_lvname_param(cmd, &lp->vg_name, &lp->lv_name))
|
||||
if (!validate_lvname_param(cmd, &lp->vg_name, &lp->lv_name))
|
||||
return_0;
|
||||
|
||||
/* Check for $LVM_VG_NAME */
|
||||
|
Loading…
x
Reference in New Issue
Block a user