mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +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:
parent
55f6627427
commit
688be28794
@ -1560,8 +1560,8 @@ static struct dm_ioctl *_flatten(struct dm_task *dmt, unsigned repeat_count)
|
|||||||
dmi->flags |= DM_SKIP_LOCKFS_FLAG;
|
dmi->flags |= DM_SKIP_LOCKFS_FLAG;
|
||||||
if (dmt->secure_data) {
|
if (dmt->secure_data) {
|
||||||
if (_dm_version_minor < 20)
|
if (_dm_version_minor < 20)
|
||||||
log_warn("WARNING: Secure data flag unsupported by "
|
log_verbose("Secure data flag unsupported by kernel. "
|
||||||
"kernel. Buffers will not be wiped after use.");
|
"Buffers will not be wiped after use.");
|
||||||
dmi->flags |= DM_SECURE_DATA_FLAG;
|
dmi->flags |= DM_SECURE_DATA_FLAG;
|
||||||
}
|
}
|
||||||
if (dmt->query_inactive_table) {
|
if (dmt->query_inactive_table) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user