]> git.itanic.dy.fi Git - linux-stable/commit
btrfs: Convert to bdev_open_by_path()
authorJan Kara <jack@suse.cz>
Wed, 27 Sep 2023 09:34:26 +0000 (11:34 +0200)
committerChristian Brauner <brauner@kernel.org>
Sat, 28 Oct 2023 11:29:20 +0000 (13:29 +0200)
commit86ec15d00bf85801bda57b5d181a2978f828a8cf
tree54fa7c1324e375622ef4230a673cefb4fe413f29
parentf4a48bc36cdfae7c603e8e3f2a51e2a283f3f365
btrfs: Convert to bdev_open_by_path()

Convert btrfs to use bdev_open_by_path() and pass the handle around.  We
also drop the holder from struct btrfs_device as it is now not needed
anymore.

CC: David Sterba <dsterba@suse.com>
CC: linux-btrfs@vger.kernel.org
Acked-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230927093442.25915-20-jack@suse.cz
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/btrfs/dev-replace.c
fs/btrfs/ioctl.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h