1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00

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.
This commit is contained in:
Milan Broz 2011-03-05 21:17:19 +00:00
parent 55f6627427
commit 688be28794

View File

@ -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) {