]> sourceware.org Git - lvm2.git/commitdiff
activation: log target version present
authorAlasdair G Kergon <agk@redhat.com>
Tue, 7 Aug 2012 17:47:33 +0000 (18:47 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 7 Aug 2012 17:47:33 +0000 (18:47 +0100)
Log (very verbose) the target version present in target_version.

lib/activate/activate.c

index 3156f01f6d0c0cb04d382de8d2f03afc50f085ac..512adcf8c4d53338ec43f6b04449cd587c78dfe8 100644 (file)
@@ -514,6 +514,11 @@ int target_version(const char *target_name, uint32_t *maj,
        } while (last_target != target);
 
       out:
+       if (r)
+               log_very_verbose("Found %s target "
+                                "v%" PRIu32 ".%" PRIu32 ".%" PRIu32 ".",
+                                target_name, *maj, *min, *patchlevel);
+
        dm_task_destroy(dmt);
 
        return r;
This page took 0.042421 seconds and 5 git commands to generate.