Skip to content
Unverified Commit 4c6bca43 authored by Jan Kara's avatar Jan Kara Committed by Christian Brauner
Browse files

mm/swap: Convert to use bdev_open_by_dev()



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

CC: linux-mm@kvack.org
CC: Andrew Morton <akpm@linux-foundation.org>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230927093442.25915-18-jack@suse.cz


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 93745df1
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