block: return errors from blk_integrity_add
authorLuis Chamberlain <mcgrof@kernel.org>
Wed, 18 Aug 2021 14:45:38 +0000 (16:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 18:55:45 +0000 (12:55 -0600)
commit614310c9c8ca15359f4e71a5bbd9165897b4d54e
treebc3a109bc87376e54a7f62deacb127bb1163d7dd
parent75f4dca59694dfe288ae6a48d7b147b60d11c95c
block: return errors from blk_integrity_add

Prepare for proper error handling in add_disk.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
[hch: split from a larger patch]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20210818144542.19305-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-integrity.c
block/blk.h