diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-01-08 11:08:07 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-01-14 11:34:05 +0100 |
commit | 7d2b7f2bd8c318ed65097d4cb7141b3035e43e2f (patch) | |
tree | 489b343c7e162f731fc2559280f4b656f1451681 | |
parent | 2567d03e95bb4e46cd845c2ae8b518ec4989b939 (diff) | |
download | lvm2-7d2b7f2bd8c318ed65097d4cb7141b3035e43e2f.tar.gz |
cleanup: replace log_warn
-rw-r--r-- | lib/metadata/lv_manip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index 68978010a..99f36617a 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -4631,14 +4631,14 @@ static int _lvresize_check_lv(struct cmd_context *cmd, struct logical_volume *lv if (vg->fid->fmt->features & FMT_SEGMENTS) lp->stripes = lp->ac_stripes_value; else - log_warn("Varied striping not supported. Ignoring."); + log_print_unless_silent("Varied striping not supported. Ignoring."); } if (lp->ac_mirrors) { if (vg->fid->fmt->features & FMT_SEGMENTS) lp->mirrors = lp->ac_mirrors_value; else - log_warn("Mirrors not supported. Ignoring."); + log_print_unless_silent("Mirrors not supported. Ignoring."); } if (lp->ac_stripesize && !_validate_stripesize(cmd, vg, lp)) |