From a882878ebaaa36d405b9abff239326abbca71c89 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 8 Dec 2023 14:04:55 +0100 Subject: [PATCH] lvcreate: support vg profile for error_on_full --- tools/lvcreate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lvcreate.c b/tools/lvcreate.c index 36ea8c562..990764d7d 100644 --- a/tools/lvcreate.c +++ b/tools/lvcreate.c @@ -756,7 +756,7 @@ static int _read_activation_params(struct cmd_context *cmd, } else lp->error_when_full = seg_can_error_when_full(lp) && - find_config_tree_bool(cmd, activation_error_when_full_CFG, NULL); + find_config_tree_bool(cmd, activation_error_when_full_CFG, vg->profile); /* Read ahead */ lp->read_ahead = arg_uint_value(cmd, readahead_ARG,