From: zhoumin <teczm@foxmail.com>
To: hirofumi@mail.parknet.co.jp
Cc: linux-kernel@vger.kernel.org, teczm@foxmail.com
Subject: Re: [RFC PATCH] vfat:avoid unnecessary check
Date: Sat, 6 Sep 2025 23:13:49 +0800 [thread overview]
Message-ID: <tencent_663B255BAD2BF224E8B5195BCF1F4A4BEC07@qq.com> (raw)
In-Reply-To: <87plc4n9e5.fsf@mail.parknet.co.jp>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 630 bytes --]
Hi Hirofumi
> Hm, IS_FREE() checks 0 and DELETED_FLAG, isn't it?
Yes, you're absolutely right. That was my mistake—sorry about that. Please
disregard that part.
> OK, thanks. I got the reason.
> However I would prefer to keep the current code, for readability and
> future changes, and explicitly check those time flags if there is no
> measurable improvement.
I understand your preference. That said, since fat_truncate_time already checks
the flags and handles them appropriately, I still feel the double-check might be
redundant. That said, I respect your decision and am okay with keeping it as is.
Thanks,
zhoumin
prev parent reply other threads:[~2025-09-06 15:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-04 16:17 zhoumin
2025-09-04 19:01 ` OGAWA Hirofumi
2025-09-05 15:49 ` zhoumin
2025-09-05 16:37 ` OGAWA Hirofumi
2025-09-06 15:13 ` zhoumin [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=tencent_663B255BAD2BF224E8B5195BCF1F4A4BEC07@qq.com \
--to=teczm@foxmail.com \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®