This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: FATFS bug
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Savin Zlobec <savinz at users dot sourceforge dot net>
- Cc: eCos Patches <ecos-patches at ecos dot sourceware dot org>
- Date: Fri, 09 Jan 2009 15:58:38 +0000
- Subject: Re: FATFS bug
- Openpgp: id=A5FB74E6
- References: <44dd56d50805130502x5eed697ehda610882330fbb17@mail.gmail.com> <20080513175828.GF2372@lunn.ch>
Andrew Lunn wrote:
> On Tue, May 13, 2008 at 02:02:58PM +0200, Savin Zlobec wrote:
>> I've only recently read your mail on ecos-devel about fatfs '.' and '..' bug.
>> Please find attached the fix.
>
> Thanks for the fix. I have committed it.
[Patch in https://bugzilla.ecoscentric.com/show_bug.cgi?id=1000539 ]
Hi Savin,
I was looking at this patch. There's an aspect I'm unsure about. I admit I
haven't found any reason why it would go wrong (although that took a lot
head scratching!), but it seems to be a bit odd for a node for "." to be
added to the node cache where the parent cluster is actually that of a
subdirectory. Is this definitely the intended solution? I'm just worried
about unintended side-effects, given that you can then have multiple nodes
pointing to the same directory entry from different directions, so to speak.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------ Opinions==mine