Skip to content
Commit 5a56ad78 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

raw: don't keep unopened block device around



Turn binding into a normal dev_t as the struct block device doesn't
buy us anything and use blkdev_open_by_dev to actually open it.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0fc66c9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment