diff options
author | Christian Brauner <brauner@kernel.org> | 2024-01-23 16:26:21 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-02-25 14:05:22 +0300 |
commit | a28d893eb3270cf62c10dd8777af0d8452cdc072 (patch) | |
tree | 3ff0423ccb0f68bbf85f74a72282721401f29307 /drivers/md/md.h | |
parent | 190f676afa00d07082db170400aaa2cd4de0933f (diff) | |
download | linux-a28d893eb3270cf62c10dd8777af0d8452cdc072.tar.xz |
md: port block device access to file
Link: https://lore.kernel.org/r/20240123-vfs-bdev-file-v2-4-adbd023e19cc@kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index 8d881cc59799..a079ee9b6190 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -59,7 +59,7 @@ struct md_rdev { */ struct block_device *meta_bdev; struct block_device *bdev; /* block device handle */ - struct bdev_handle *bdev_handle; /* Handle from open for bdev */ + struct file *bdev_file; /* Handle from open for bdev */ struct page *sb_page, *bb_page; int sb_loaded; |