Re: [PATCH v2] zonefs: move super block reading from page to folio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23.05.24 15:02, Johannes Thumshirn wrote:
> From: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>
> 
> Move reading of the on-disk superblock from page to folios.
> 
> Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>
> ---
>   fs/zonefs/super.c | 35 ++++++++++++++---------------------
>   1 file changed, 14 insertions(+), 21 deletions(-)
> 
> diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c
> index faf1eb87895d..01a01cc3e0e4 100644
> --- a/fs/zonefs/super.c
> +++ b/fs/zonefs/super.c
> @@ -1109,30 +1109,23 @@ static int zonefs_init_zgroups(struct super_block *sb)
>   static int zonefs_read_super(struct super_block *sb)
>   {
>   	struct zonefs_sb_info *sbi = ZONEFS_SB(sb);
> +	struct address_space *address_space = sb->s_bdev->bd_inode->i_mapping;
>   	struct zonefs_super *super;
>   	u32 crc, stored_crc;
> -	struct page *page;
>   	struct bio_vec bio_vec;
>   	struct bio bio;
> +	struct folio *folio;
>   	int ret;

Args seen it to late, bio and bio_vec are unused now...





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux