]> sourceware.org Git - lvm2.git/commitdiff
lvcreate: support vg profile for error_on_full
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 8 Dec 2023 13:04:55 +0000 (14:04 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 10 Jan 2024 13:02:22 +0000 (14:02 +0100)
tools/lvcreate.c

index 36ea8c562c8f0332db2cdcaca073cf4244e9f4ca..990764d7de7cdc2730e7f1a0f5442742772b851b 100644 (file)
@@ -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,
This page took 0.033973 seconds and 5 git commands to generate.