From: Chi Zhiling <chizhiling@163.com>
To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Namjae Jeon <linkinjeon@kernel.org>,
Sungjong Seo <sj1557.seo@samsung.com>,
Yuezhang Mo <yuezhang.mo@sony.com>,
Chi Zhiling <chizhiling@kylinos.cn>
Subject: Re: [PATCH v2] exfat: validate cached iomaps during buffered writes and writeback
Date: Thu, 2 Jul 2026 10:42:20 +0800 [thread overview]
Message-ID: <613f117f-e192-427e-ba88-4a060250e7db@163.com> (raw)
In-Reply-To: <20260702023116.829321-1-chizhiling@163.com>
On 7/2/26 10:31 AM, Chi Zhiling wrote:
> error = __exfat_iomap_begin(wpc->inode, offset, len,
> @@ -269,3 +271,12 @@ int exfat_iomap_swap_activate(struct swap_info_struct *sis,
> {
> return iomap_swapfile_activate(sis, file, span, &exfat_iomap_ops);
> }
> +
> +static bool exfat_iomap_valid(struct inode *inode, const struct iomap *iomap)
> +{
> + return EXFAT_I(inode)->cache_valid_id == iomap->validity_cookie;
> +}
> +
> +const struct iomap_write_ops exfat_iomap_write_ops = {
> + .iomap_valid = exfat_iomap_valid,
> +};
Sorry, this patch causes a build failure. I'll send a v3 as soon as
possible.
prev parent reply other threads:[~2026-07-02 2:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-02 2:31 Chi Zhiling
2026-07-02 2:42 ` Chi Zhiling [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=613f117f-e192-427e-ba88-4a060250e7db@163.com \
--to=chizhiling@163.com \
--cc=chizhiling@kylinos.cn \
--cc=linkinjeon@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sj1557.seo@samsung.com \
--cc=yuezhang.mo@sony.com \
/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
all inboxes | Powered by JetHome®