OSDN Git Service

dm integrity: handle machine reboot in bitmap mode
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 29 Apr 2019 12:57:25 +0000 (14:57 +0200)
committerMike Snitzer <snitzer@redhat.com>
Wed, 8 May 2019 17:41:58 +0000 (13:41 -0400)
commit1f5a77591b13a302b60db0dcda57940f3e5d5214
tree640db9609fc5046ff7f32ee71588efdbdcfba7d4
parent468dfca38b1a6fbdccd195d875599cb7c8875cd9
dm integrity: handle machine reboot in bitmap mode

When in bitmap mode the bitmap must be cleared when rebooting.  This
commit adds the reboot hook.

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