]> sourceware.org Git - lvm2.git/commitdiff
Avoid flooding syslog with redundant messages when a snapshot is invalidated
authorPetr Rockai <prokai@redhat.com>
Mon, 14 Feb 2011 14:26:36 +0000 (14:26 +0000)
committerPetr Rockai <prokai@redhat.com>
Mon, 14 Feb 2011 14:26:36 +0000 (14:26 +0000)
(reported by Corey).

daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c

index 6fc9f562a2ae8c87ad7703d2bed4f823e8eae76f..01ac65e060d92cd1ef159b743697ea7c88d2163d 100644 (file)
@@ -200,7 +200,6 @@ void process_event(struct dm_task *dmt,
        _parse_snapshot_params(params, &status);
 
        if (status.invalid) {
-               syslog(LOG_ERR, "Trying to umount invalid snapshot %s...\n", device);
                struct dm_info info;
                if (dm_task_get_info(dmt, &info)) {
                        dmeventd_lvm2_unlock();
This page took 0.090348 seconds and 5 git commands to generate.