diff options
author | Christian Brauner <brauner@kernel.org> | 2024-01-23 16:26:22 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-02-25 14:05:22 +0300 |
commit | 16ca5dfd8dcd2816edc8f4e68ac4b9c5a606fc98 (patch) | |
tree | a05d8b926a6a45aa83167d88bf288a7393d937c2 /include/linux/swap.h | |
parent | a28d893eb3270cf62c10dd8777af0d8452cdc072 (diff) | |
download | linux-16ca5dfd8dcd2816edc8f4e68ac4b9c5a606fc98.tar.xz |
swap: port block device usage to file
Link: https://lore.kernel.org/r/20240123-vfs-bdev-file-v2-5-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 'include/linux/swap.h')
-rw-r--r-- | include/linux/swap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index 4db00ddad261..e5b82bc05e60 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -298,7 +298,7 @@ struct swap_info_struct { unsigned int __percpu *cluster_next_cpu; /*percpu index for next allocation */ struct percpu_cluster __percpu *percpu_cluster; /* per cpu's swap location */ struct rb_root swap_extent_root;/* root of the swap extent rbtree */ - struct bdev_handle *bdev_handle;/* open handle of the bdev */ + struct file *bdev_file; /* open handle of the bdev */ struct block_device *bdev; /* swap device or bdev of swap file */ struct file *swap_file; /* seldom referenced */ unsigned int old_block_size; /* seldom referenced */ |