OSDN Git Service

block: refactor bd_start_claiming
authorChristoph Hellwig <hch@lst.de>
Thu, 16 Jul 2020 14:33:08 +0000 (16:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Jul 2020 15:35:44 +0000 (09:35 -0600)
commit58e46ed9cc634b3c64ea402789f8a92ce45cee48
tree10b809a0eaa625ed790e866503706d7d27d516b6
parentc5638ab417660e2c5d681aed5ce76df992982dbb
block: refactor bd_start_claiming

Move the locking and assignment of bd_claiming from bd_start_claiming to
bd_prepare_to_claim.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c