From: "Sungjong Seo" <sj1557.seo@samsung.com>
To: <Yuezhang.Mo@sony.com>, <linkinjeon@kernel.org>
Cc: <linux-fsdevel@vger.kernel.org>, <Andy.Wu@sony.com>,
<Wataru.Aoyama@sony.com>, <cpgs@samsung.com>,
<sj1557.seo@samsung.com>
Subject: RE: [PATCH v1] exfat: zero the reserved fields of file and stream extension dentries
Date: Wed, 24 Apr 2024 20:40:11 +0900 [thread overview]
Message-ID: <1891546521.01713966302080.JavaMail.epsvc@epcpadp3> (raw)
In-Reply-To: <PUZPR04MB6316B43EC39999D94F8F011E81102@PUZPR04MB6316.apcprd04.prod.outlook.com>
> > BTW, what about initializing the entire ep (fixed size of 32 bytes)
> > to 0 before setting the value of ep in each init function? This is the
> > simplest way to ensure that all other values are zero except for the
> > intentionally set value.
>
> Yes, initializing the entire directory entry to 0 is simplest way.
> But 48 more bytes are set to 0 (the total size of the reserved fields is
> 16 bytes).
>
> I think both ways are acceptable. If you think initializing the entire ep
> to
> 0 is better, I'll update this patch.
It may be more efficient to initialize the entire ep of size 32 bytes at
once.
I will wait for patch v2. :)
prev parent reply other threads:[~2024-04-24 13:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20240423022908epcas1p2e3f94bde4decfd8dca233031f0177f58@epcas1p2.samsung.com>
2024-04-23 2:28 ` [PATCH v1] exfat: zero the reserved fields of file and stream extension dentries Yuezhang.Mo
2024-04-24 2:23 ` Sungjong Seo
2024-04-24 7:44 ` Yuezhang.Mo
2024-04-24 11:40 ` Sungjong Seo [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=1891546521.01713966302080.JavaMail.epsvc@epcpadp3 \
--to=sj1557.seo@samsung.com \
--cc=Andy.Wu@sony.com \
--cc=Wataru.Aoyama@sony.com \
--cc=Yuezhang.Mo@sony.com \
--cc=cpgs@samsung.com \
--cc=linkinjeon@kernel.org \
--cc=linux-fsdevel@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;
as well as URLs for NNTP newsgroup(s).