Convert erofs to use bdev_open_by_path() and pass the handle around.
CC: Gao Xiang
CC: Chao Yu
CC: linux-erofs@lists.ozlabs.org
Acked-by: Christoph Hellwig
Acked-by: Gao Xiang
Reviewed-by: Christian Brauner
Signed-off-by: Jan Kara
---
fs/erofs/data.c | 4 ++--
fs/erofs/internal.h | 2
On Wed, Sep 27, 2023 at 3:34?AM Jan Kara wrote:
>
> Hello,
>
> this is a v3 of the patch series which implements the idea of
> blkdev_get_by_*()
v4?
> calls returning bdev_handle which is then passed to blkdev_put() [1]. This
> makes the get and put calls for bdevs more obviously matching and
On Wed, 27 Sep 2023 11:34:07 +0200, Jan Kara wrote:
> Create struct bdev_handle that contains all parameters that need to be
> passed to blkdev_put() and provide bdev_open_* functions that return
> this structure instead of plain bdev pointer. This will eventually allow
> us to pass one more