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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: yaffs@piments.com
Date:  
To: yaffs
Subject: Re: [Yaffs] Yaffs rmdir behaves like rmdir -f
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 :-)
>
> Wookey


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.

regards.