From: Namjae Jeon <linkinjeon@kernel.org>
To: "Yuezhang.Mo@sony.com" <Yuezhang.Mo@sony.com>
Cc: "sj1557.seo@samsung.com" <sj1557.seo@samsung.com>,
"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
"Andy.Wu@sony.com" <Andy.Wu@sony.com>,
"Wataru.Aoyama@sony.com" <Wataru.Aoyama@sony.com>
Subject: Re: [PATCH v2 2/2] exfat: do not zeroed the extended part
Date: Mon, 14 Aug 2023 13:39:29 +0900 [thread overview]
Message-ID: <CAKYAXd-bsJYyUi-57_SZbKsZOFwAxLE_qZT2mijj2=NX5ui82w@mail.gmail.com> (raw)
In-Reply-To: <PUZPR04MB6316007DA330B551F70F08598124A@PUZPR04MB6316.apcprd04.prod.outlook.com>
[snip]
> +static int exfat_cont_expand(struct inode *inode, loff_t size)
> +{
> + if (mapping_writably_mapped(inode->i_mapping))
Could you elaborate why mapping_writably_mapped is used here instead
of comparing new size and old size ?
Thanks.
> + return exfat_expand_and_zero(inode, size);
> +
> + return exfat_expand(inode, size);
> +}
> +
> static bool exfat_allow_set_time(struct exfat_sb_info *sbi, struct inode
> *inode)
> {
> mode_t allow_utime = sbi->options.allow_utime;
> --
> 2.25.1
>
>
next prev parent reply other threads:[~2023-08-14 4:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-28 1:52 [PATCH v2 2/2] exfat: do not zeroed the extended part Yuezhang.Mo
2023-08-14 4:39 ` Namjae Jeon [this message]
2023-08-15 5:45 ` Yuezhang.Mo
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='CAKYAXd-bsJYyUi-57_SZbKsZOFwAxLE_qZT2mijj2=NX5ui82w@mail.gmail.com' \
--to=linkinjeon@kernel.org \
--cc=Andy.Wu@sony.com \
--cc=Wataru.Aoyama@sony.com \
--cc=Yuezhang.Mo@sony.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=sj1557.seo@samsung.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;
as well as URLs for NNTP newsgroup(s).