]> git.baikalelectronics.ru Git - kernel.git/commit
dm integrity: don't replay journal data past the end of the device
authorMikulas Patocka <mpatocka@redhat.com>
Sun, 22 Mar 2020 19:42:23 +0000 (20:42 +0100)
committerMike Snitzer <snitzer@redhat.com>
Tue, 24 Mar 2020 16:43:21 +0000 (12:43 -0400)
commit90273765fd27845e502259f1dd430e3551dc5f01
tree67dfdfe4de50ff5926172acd49936bc29c1303d9
parentb77e16dca666e2ff7a34b1ca7fe806342e48182d
dm integrity: don't replay journal data past the end of the device

Following commits will make it possible to shrink or extend the device. If
the device was shrunk, we don't want to replay journal data pointing past
the end of the device.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-integrity.c