Re: [dm-devel] [PATCH 23/44] block: remove i_bdev

2020-11-26 Thread Jan Kara
On Thu 26-11-20 14:04:01, Christoph Hellwig wrote: > Switch the block device lookup interfaces to directly work with a dev_t > so that struct block_device references are only acquired by the > blkdev_get variants (and the blk-cgroup special case). This means that > we now don't need an extra

[dm-devel] [PATCH 23/44] block: remove i_bdev

2020-11-26 Thread Christoph Hellwig
Switch the block device lookup interfaces to directly work with a dev_t so that struct block_device references are only acquired by the blkdev_get variants (and the blk-cgroup special case). This means that we now don't need an extra reference in the inode and can generally simplify handling of