diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-16 16:33:10 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-16 09:35:44 -0600 |
commit | 5b642d8b9f2ef1212f33dfc337816e6b4ab83bb3 (patch) | |
tree | 99090ed15088d80ea003c752d66ae1d1c60b8d94 /block/blk-ioc.c | |
parent | ecbe6bc0003bfd5bf8581cb679cae0eb944432cb (diff) | |
download | lwn-5b642d8b9f2ef1212f33dfc337816e6b4ab83bb3.tar.gz lwn-5b642d8b9f2ef1212f33dfc337816e6b4ab83bb3.zip |
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>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions