lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <vfarqzsexo2654itlcru3ha76jx7o3byxoim4dubv3s2mswvjg@mkuljny5u73j>
Date: Fri, 14 Feb 2025 11:44:16 +0100
From: Jan Kara <jack@...e.cz>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>
Cc: Jan Kara <jack@...e.com>, linux-ext4@...r.kernel.org, 
	linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] ext2: Remove reference to bh->b_page

On Thu 13-02-25 18:20:43, Matthew Wilcox (Oracle) wrote:
> Buffer heads are attached to folios, not to pages.  Also
> flush_dcache_page() is now deprecated in favour of flush_dcache_folio().
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy@...radead.org>

Thanks. Added to my tree.

								Honza

> ---
>  fs/ext2/super.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ext2/super.c b/fs/ext2/super.c
> index 37f7ce56adce..21bea926e0ee 100644
> --- a/fs/ext2/super.c
> +++ b/fs/ext2/super.c
> @@ -1556,7 +1556,7 @@ static ssize_t ext2_quota_write(struct super_block *sb, int type,
>  		}
>  		lock_buffer(bh);
>  		memcpy(bh->b_data+offset, data, tocopy);
> -		flush_dcache_page(bh->b_page);
> +		flush_dcache_folio(bh->b_folio);
>  		set_buffer_uptodate(bh);
>  		mark_buffer_dirty(bh);
>  		unlock_buffer(bh);
> -- 
> 2.47.2
> 
-- 
Jan Kara <jack@...e.com>
SUSE Labs, CR

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ