From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Gwendal Grignou <gwendal@chromium.org>
Cc: dlunev@chromium.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Revert "fat: add simple validation for directory inode"
Date: Sat, 05 Feb 2022 15:21:15 +0900 [thread overview]
Message-ID: <8735kxx290.fsf@mail.parknet.co.jp> (raw)
In-Reply-To: <20220204062232.3410036-1-gwendal@chromium.org> (Gwendal Grignou's message of "Thu, 3 Feb 2022 22:22:32 -0800")
Gwendal Grignou <gwendal@chromium.org> writes:
> This reverts commit a3082d526f2d406d4b488e49a508a0062a23314f.
>
> The reverted commit adds check for FAT images. However, the tools used
> for creating images for the Lego Mindstrom EV3 are not adding '.' and
> '..' entry in the 'Projects' directory.
> Without this fix, the kernel can not fill the inode structure for
> 'Projects' directory.
>
> See https://github.com/microsoft/pxt-ev3/issues/980
> And https://github.com/microsoft/uf2-linux/issues/6
Looks like the bug of those tools. If you want to add the workaround for
those tools, it should not break sane format.
I.e. the workaround should at least set the directory link count to work
rmdir(2) without warnings, then should test other operations if works
well.
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
prev parent reply other threads:[~2022-02-05 6:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-04 6:22 [PATCH] Revert "fat: add simple validation for directory inode" Gwendal Grignou
2022-02-05 6:21 ` OGAWA Hirofumi [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=8735kxx290.fsf@mail.parknet.co.jp \
--to=hirofumi@mail.parknet.co.jp \
--cc=dlunev@chromium.org \
--cc=gwendal@chromium.org \
--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