diff options
| author | Benjamin Marzinski <bmarzins@redhat.com> | 2026-04-29 16:21:08 -0400 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-05-04 14:53:52 +0200 |
| commit | 2ac3de0bbf40ecf32875e0a28b592a5d97d0503e (patch) | |
| tree | e58dc634c8fd81cc96b2358a2b56df80dd60dd62 /include/linux/timerqueue_types.h | |
| parent | 8710ef1fa0715a331f967565a4eb56c6d4b4c15b (diff) | |
dm-ima: use active table's size if available
It is possible that the dm_ima_measure_on_* functions run at the same
time as a table is getting swapped, but before the md->ima.active_table
is updated by dm_ima_measure_on_device_resume(). Instead of using the
current device size, use the size of the active table that is being
measured (assuming there is one), so the information is consistent.
Also, don't allocate a separate string to hold the capactiy. Just
print it directly to the measurement buffer.
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
