Add handling for unrooted files
authorCharles Manning <cdhmanning@gmail.com>
Thu, 5 Nov 2009 00:15:21 +0000 (13:15 +1300)
committerArve Hjønnevåg <arve@android.com>
Mon, 8 Feb 2010 23:09:11 +0000 (15:09 -0800)
commit75e82381df19bcb8bf6681f3fe1a2a8360e6cddc
tree8e68a842012511e7786414d6473b88f48a6ee5cc
parent8ff4860c2778c0be92a63808036de337d13fa864
Add handling for unrooted files

Unrooted files should only happen due to a now fixed bug that
would rmdir non-empty directories.
Unrooted files are now re-rooted in lost_found.

This also introduces a mechanism to empty out lost and found at
mount, thus recaliming this space. This option may be controlled
via a compile flag and overridden with a mount option.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
fs/yaffs2/Kconfig
fs/yaffs2/yaffs_fs.c
fs/yaffs2/yaffs_guts.c
fs/yaffs2/yaffs_guts.h