]> sourceware.org Git - lvm2.git/commitdiff
activation: Add LV name to a debug message.
authorAlasdair G Kergon <agk@redhat.com>
Thu, 14 Apr 2016 21:41:25 +0000 (22:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 14 Apr 2016 21:41:25 +0000 (22:41 +0100)
lib/activate/activate.c

index ca8251895fc098a3ec740f3f48688ee8db67dbb5..8e6ee33c9a95d25b5398faad9edf38d02dfdaed3 100644 (file)
@@ -2309,7 +2309,7 @@ static int _lv_activate(struct cmd_context *cmd, const char *lvid_s,
        if (info.exists && !info.suspended && info.live_table &&
            (info.read_only == read_only_lv(lv, laopts))) {
                r = 1;
-               log_debug_activation("Volume is already active.");
+               log_debug_activation("LV %s is already active.", display_lvname(lv));
                goto out;
        }
 
This page took 0.037313 seconds and 5 git commands to generate.