bcache: Convert to bdev_open_by_path()
authorJan Kara <jack@suse.cz>
Wed, 27 Sep 2023 09:34:15 +0000 (11:34 +0200)
committerChristian Brauner <brauner@kernel.org>
Sat, 28 Oct 2023 11:29:17 +0000 (13:29 +0200)
commit631b001fd6bccb2438a6252dbb62d09cbba3350b
tree00bfe78e802a458e92ea8fca87e1c85060df4615
parenteed993a0910338fa751191264d5caa2c386c3f8f
bcache: Convert to bdev_open_by_path()

Convert bcache to use bdev_open_by_path() and pass the handle around.

CC: linux-bcache@vger.kernel.org
CC: Coly Li <colyli@suse.de>
CC: Kent Overstreet <kent.overstreet@gmail.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian Brauner <brauner@kernel.org>
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230927093442.25915-9-jack@suse.cz
Signed-off-by: Christian Brauner <brauner@kernel.org>
drivers/md/bcache/bcache.h
drivers/md/bcache/super.c