summaryrefslogtreecommitdiffstats
path: root/drivers/block/zram/zram_drv.h
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2024-01-23 14:26:29 +0100
committerChristian Brauner <brauner@kernel.org>2024-02-25 12:05:24 +0100
commitbe914f8fd282ecce5d8e2dd098e628dcc7ad533a (patch)
treeabeb2dbeda128f783f2cd59c2a14307a3b6e0feb /drivers/block/zram/zram_drv.h
parentxen: port block device access to file (diff)
downloadlinux-be914f8fd282ecce5d8e2dd098e628dcc7ad533a.tar.xz
linux-be914f8fd282ecce5d8e2dd098e628dcc7ad533a.zip
zram: port block device access to file
Link: https://lore.kernel.org/r/20240123-vfs-bdev-file-v2-12-adbd023e19cc@kernel.org Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/block/zram/zram_drv.h')
-rw-r--r--drivers/block/zram/zram_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/zram/zram_drv.h b/drivers/block/zram/zram_drv.h
index 3b94d12f41b4..37bf29f34d26 100644
--- a/drivers/block/zram/zram_drv.h
+++ b/drivers/block/zram/zram_drv.h
@@ -132,7 +132,7 @@ struct zram {
spinlock_t wb_limit_lock;
bool wb_limit_enable;
u64 bd_wb_limit;
- struct bdev_handle *bdev_handle;
+ struct file *bdev_file;
unsigned long *bitmap;
unsigned long nr_pages;
#endif