From: Dave Kleikamp <dave.kleikamp@oracle.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: jfs-discussion@lists.sourceforge.net, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] jfs: Remove reference to bh->b_page
Date: Thu, 13 Feb 2025 12:39:48 -0600 [thread overview]
Message-ID: <56ec42aa-3414-44cd-8ae8-f546b36a2c7f@oracle.com> (raw)
In-Reply-To: <20250213182432.2133727-1-willy@infradead.org>
On 2/13/25 12:24PM, 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@infradead.org>
Looks good. Adding this to jfs-next
Shaggy
> ---
> fs/jfs/super.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/jfs/super.c b/fs/jfs/super.c
> index 223d9ac59839..4bb42de33865 100644
> --- a/fs/jfs/super.c
> +++ b/fs/jfs/super.c
> @@ -766,7 +766,7 @@ static ssize_t jfs_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);
prev parent reply other threads:[~2025-02-13 18:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 18:24 [PATCH] jfs: Remove reference to bh->b_page Matthew Wilcox (Oracle)
2025-02-13 18:39 ` Dave Kleikamp [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56ec42aa-3414-44cd-8ae8-f546b36a2c7f@oracle.com \
--to=dave.kleikamp@oracle.com \
--cc=jfs-discussion@lists.sourceforge.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).