]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm-integrity: Do not emit journal configuration in DM table for Inline mode
authorMilan Broz <gmazyland@gmail.com>
Sun, 16 Feb 2025 10:42:10 +0000 (11:42 +0100)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 17 Feb 2025 10:33:41 +0000 (11:33 +0100)
commitc19525b5fb71a355079063bb14adcddae60cf922
treef32e92e7723ee788417a5e464d14319d93eb5622
parent7fb39882b20c98a9a393c244c86b56ef6933cff8
dm-integrity: Do not emit journal configuration in DM table for Inline mode

The Inline mode does not use a journal; it makes no sense to print
journal information in DM table. Print it only if the journal is used.

The same applies to interleave_sectors (unused for Inline mode).

Also, add comments for arg_count, as the current calculation
is quite obscure.

Signed-off-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-integrity.c