ocfs2: Convert to use bdev_open_by_dev()
authorJan Kara <jack@suse.cz>
Wed, 27 Sep 2023 09:34:32 +0000 (11:34 +0200)
committerChristian Brauner <brauner@kernel.org>
Sat, 28 Oct 2023 11:29:21 +0000 (13:29 +0200)
commitebc4185497eac671e428f09bbaafb036d02323bd
treed24e1b5cddcae3edce218bc73aebd3ea8151a4d7
parent3fe5d9fb0b31075dc85ccd2d142474c18af76f93
ocfs2: Convert to use bdev_open_by_dev()

Convert ocfs2 heartbeat code to use bdev_open_by_dev() and pass the
handle around.

CC: Joseph Qi <joseph.qi@linux.alibaba.com>
CC: ocfs2-devel@oss.oracle.com
Acked-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230927093442.25915-26-jack@suse.cz
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ocfs2/cluster/heartbeat.c