]> www.infradead.org Git - users/hch/block.git/commit
block: integrate bd_start_claiming into __blkdev_get block-claim-cleanup
authorChristoph Hellwig <hch@lst.de>
Tue, 30 Jun 2020 12:21:18 +0000 (14:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 2 Jul 2020 08:47:26 +0000 (10:47 +0200)
commitc7cb605bb3db144386214ec279238bc4d3829114
treed0b4bc998b9b5907e194841aa6f4b08ced4480c1
parented61dd0fd6f6665266eba57473a3de35e0cd6310
block: integrate bd_start_claiming into __blkdev_get

bd_start_claiming duplicates a lot of the work done in __blkdev_get.
Integrate the two functions to avoid the duplicate work, and to do the
right thing for the md -ERESTARTSYS corner case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/block_dev.c