mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
md, dm, scsi, nvme, libnvdimm: drop blk_integrity_unregister() at shutdown
Now that the integrity profile is statically allocated there is no work to do when shutting down an integrity enabled block device. Cc: Matthew Wilcox <[email protected]> Cc: Mike Snitzer <[email protected]> Cc: James Bottomley <[email protected]> Acked-by: NeilBrown <[email protected]> Acked-by: Keith Busch <[email protected]> Acked-by: Vishal Verma <[email protected]> Tested-by: Ross Zwisler <[email protected]> Signed-off-by: Dan Williams <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
25520d55cd
commit
9609b9942b
5 changed files with 1 additions and 9 deletions
|
|
@ -1279,7 +1279,6 @@ static int btt_blk_init(struct btt *btt)
|
|||
|
||||
static void btt_blk_cleanup(struct btt *btt)
|
||||
{
|
||||
blk_integrity_unregister(btt->btt_disk);
|
||||
del_gendisk(btt->btt_disk);
|
||||
put_disk(btt->btt_disk);
|
||||
blk_cleanup_queue(btt->btt_queue);
|
||||
|
|
|
|||
Loading…
Reference in a new issue