]> www.infradead.org Git - users/hch/block.git/commit
block: remove the blk_flush_integrity call in blk_integrity_unregister
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2024 05:58:45 +0000 (07:58 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Jun 2024 09:41:15 +0000 (11:41 +0200)
commit305ef79aa244058cdde94f6d3c90e74743a92d5f
tree8befcc0fd4cb305c93bc5aff4c48495738ecb149
parent89c50cab1fd7f9af386b7704f3632e4884332174
block: remove the blk_flush_integrity call in blk_integrity_unregister

Now that there are no indirect calls for PI processing there is no
way to dereference a NULL pointer here.  Additionally drivers now always
freeze the queue (or in case of stacking drivers use their internal
equivalent) around changing the integrity profile.

This is effectively a revert of commit 3df49967f6f1 ("block: flush the
integrity workqueue in blk_integrity_unregister").

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-integrity.c