Hi all, I've recently synched up with the latest from the git repo and am trying out multiple code paths. I'm seeing an issue with file deletion in one particular case: * small page (synthetic) flash, so yaffs1 mode * soft deletes are enabled * my driver (eCos) is not using the cached inode facility, i.e. myInode is NULL for all objects The issue seems to arise as yaffs_DeleteFile calls yaffs_UnlinkFileIfNeeded. In UnlinkFileIfNeeded, immediateDeletion becomes 1 and (amongst other things) in->deleted is set. However, DeleteFile then goes on to look only at its own on-stack `deleted' variable in determining whether or not the operation has succeeded - which has not been updated in this case, so it returns what appears to be a spurious failure. Patch attached for your consideration; it passes my test cases which were failing, and I'm running a soak test as I type this. Ross -- Embedded Software Engineer, eCosCentric Limited. Barnwell House, Barnwell Drive, Cambridge CB5 8UU, UK. Registered in England no. 4422071. www.ecoscentric.com