Skip to content
Commit 4365d0d6 authored by Jan Kara's avatar Jan Kara Committed by Greg Kroah-Hartman
Browse files

fs: Convert to bdev_open_by_dev()



[ Upstream commit f4a48bc3 ]

Convert mount code to use bdev_open_by_dev() and propagate the handle
around to bdev_release().

Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230927093442.25915-19-jack@suse.cz


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
Stable-dep-of: 6306ff39 ("jfs: fix log->bdev_handle null ptr deref in lbmStartIO")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e58695f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment