commit | bab53f6b617d9f530978d6e3693f88e586d81a8a | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Aug 18 16:45:36 2021 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Aug 23 12:55:45 2021 -0600 |
tree | ab3c485848a2e6723bf33ca6e764010ebd0f521f | |
parent | 9d5ee6767c85762205b788ed1245f21fafd6c504 [diff] |
block: call blk_integrity_add earlier in device_add_disk Doing all the sysfs file creation before adding the bdev and thus allowing it to be opened will simplify the about to be added error handling. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Link: https://lore.kernel.org/r/20210818144542.19305-6-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>