[Yaffs] mv problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Timofei V. Bondarenko
Date:  
To: yaffs
Subject: [Yaffs] mv problem
Hello.

I have a problem with mv command on yaffs filesystem.

linux kernel 2.6.12
yaffs2 code from current CVS (I use yaffs1)

There are 2 different files /hello and /helly exist.

mv hello helly

Failed: ENOTEMPTY

ls -l
No hello file present

ls -l hello
The hello file shown

cat hello
Content of hello is ok.
The file helly is left unchaged.

After reboot the hello file disappear completly.

The ENOTEMPTY error reported by yaffs_rename()/yaffs_RenameObject(),
but I've no idea why.

Any thoughts?

--
    Tim.