From 40c79aba89a8e4c761f9449729de2cc90f7eb10b Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Sat, 5 Mar 2011 21:17:19 +0000 Subject: [PATCH] Move secure flag warning to verbose level. This feature is not yet upstream and becuase cryptsetup in next version uses this flag, it will cause a lot of noise on old kernels. --- libdm/ioctl/libdm-iface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdm/ioctl/libdm-iface.c b/libdm/ioctl/libdm-iface.c index 2f96a0ff6..8755f59b2 100644 --- a/libdm/ioctl/libdm-iface.c +++ b/libdm/ioctl/libdm-iface.c @@ -1560,8 +1560,8 @@ static struct dm_ioctl *_flatten(struct dm_task *dmt, unsigned repeat_count) dmi->flags |= DM_SKIP_LOCKFS_FLAG; if (dmt->secure_data) { if (_dm_version_minor < 20) - log_warn("WARNING: Secure data flag unsupported by " - "kernel. Buffers will not be wiped after use."); + log_verbose("Secure data flag unsupported by kernel. " + "Buffers will not be wiped after use."); dmi->flags |= DM_SECURE_DATA_FLAG; } if (dmt->query_inactive_table) { -- 2.43.5