diff options
| author | Christoph Hellwig <[email protected]> | 2020-07-16 16:33:09 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-07-16 09:35:44 -0600 |
| commit | ecbe6bc0003bfd5bf8581cb679cae0eb944432cb (patch) | |
| tree | 5006b0a7baecfb91cdcdb8ccc8a033e6ba02ba49 /fs/ubifs/commit.c | |
| parent | 58e46ed9cc634b3c64ea402789f8a92ce45cee48 (diff) | |
block: use bd_prepare_to_claim directly in the loop driver
The arcane magic in bd_start_claiming is only needed to be able to claim
a block_device that hasn't been fully set up. Switch the loop driver
that claims from the ioctl path with a fully set up struct block_device
to just use the much simpler bd_prepare_to_claim directly.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions