]> www.infradead.org Git - users/hch/block.git/commit
raw: don't keep unopened block device around
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Sep 2020 09:40:19 +0000 (11:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 19 Sep 2020 05:19:50 +0000 (07:19 +0200)
commitbb98da99138b4ed3f3e4daf02da12b56a367287d
treef6c79745597ff4bb4902c333cb18dd874c31ed71
parent34dbb8e592b80105babcdab125c7f4cc8ff587ec
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: Christoph Hellwig <hch@lst.de>
drivers/char/raw.c