OSDN Git Service

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)
commitf6f72f32c22c0ba7b714685b13a257be981888f3
tree67dfdfe4de50ff5926172acd49936bc29c1303d9
parent7649194a1636ab5876e7c18337d7ddd63e1d4376
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