From afbf31eba93660bc59dee2a54226f04b060f666c Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Tue, 10 Jun 2008 11:19:19 +0000 Subject: [PATCH] Fix inverted no_flush debug message. (mpatocka) --- WHATS_NEW_DM | 1 + libdm/libdm-deptree.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index fd8c3305b..ca7ca0218 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.27 - =============================== + Fix inverted no_flush debug message. Remove --enable-jobs from configure. (Set at runtime instead.) Bring configure.in and list.h into line with the lvm2 versions. diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c index b028c5043..8404a7bd5 100644 --- a/libdm/libdm-deptree.c +++ b/libdm/libdm-deptree.c @@ -937,7 +937,7 @@ static int _suspend_node(const char *name, uint32_t major, uint32_t minor, log_verbose("Suspending %s (%" PRIu32 ":%" PRIu32 ")%s%s", name, major, minor, skip_lockfs ? "" : " with filesystem sync", - no_flush ? "" : " without device flush"); + no_flush ? " without device flush" : ""); if (!(dmt = dm_task_create(DM_DEVICE_SUSPEND))) { log_error("Suspend dm_task creation failed for %s", name);