Re: [Yaffs] Yaffs rmdir behaves like rmdir -f

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Wookey
Date:  
To: yaffs
Subject: Re: [Yaffs] Yaffs rmdir behaves like rmdir -f
+++ [2009-09-02 11:02 +0200]:
> Wookey wrote:
>> +++ Wookey [2009-09-01 17:42 +0100]:
>>> We've just found that rmdir is not returning ENOTENT when asked to
>>> delete a directory containign files.
>>>
>>> This is with yaffs_fs 1.76, yaffs_guts 1.81, as of 2009-03-06. I'll
>>> check if 'latest' helps at all,
>>
>> Aha - it appears to be fixed already:
>> http://www.aleph1.co.uk/cgi-bin/viewvc.cgi/yaffs2/yaffs_guts.c?revision=1.88&view=markup
>>
>> marvellous!
>>
>> Just ignore me :-)
>
> Ignore, not at all. This is a potentially nasty bug. I did see some
> mention of it on the list but don't recall anything about it being fixed.
>
> If this fix requires grabbing latest , thanks for pointing that out.


OK. confirmed that upgrading yaffs to 'today' fixes this issue on
2.6.29.1. I'm not sure what combination of kernels and yaffs causes
the breakage.

Wookey
--
Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/