diff options
author | Jan Kara <jack@suse.cz> | 2023-09-27 12:34:07 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-27 01:19:40 +0300 |
commit | dd0bd429125045e0b5bd87dea1c43b2e593f6213 (patch) | |
tree | 0f9672941713bc3fa67c836a322e99b7522a5adf /arch/riscv/Kconfig.debug | |
parent | 3721c63d300289a9ab69abe795d8112465f492db (diff) | |
download | linux-dd0bd429125045e0b5bd87dea1c43b2e593f6213.tar.xz |
block: Provide bdev_open_* functions
[ Upstream commit e719b4d156749f02eafed31a3c515f2aa9dcc72a ]
Create struct bdev_handle that contains all parameters that need to be
passed to blkdev_put() and provide bdev_open_* functions that return
this structure instead of plain bdev pointer. This will eventually allow
us to pass one more argument to blkdev_put() (renamed to bdev_release())
without too much hassle.
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-1-jack@suse.cz
Signed-off-by: Christian Brauner <brauner@kernel.org>
Stable-dep-of: 0f28be64d132 ("erofs: fix lockdep false positives on initializing erofs_pseudo_mnt")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/riscv/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions