UBIFS: do not write orphans back
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 22 Jul 2008 08:52:52 +0000 (11:52 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 May 2009 14:08:49 +0000 (17:08 +0300)
commit44b3860615c22173e9b31c76c056d9732be4fb98
treeca0f2ca31bade239072be73946b7e3ee917eecbb
parent1d0ce2b3f6e7017cf9b6cf159bed3553cfc1149e
UBIFS: do not write orphans back

Orphan inodes are deleted inodes which will disappear after FS
re-mount. There is not need to write orphan inodes back, because
they are not needed on the flash media.

So optimize orphans a little by not writing them back. Just mark
them as clean, free the budget, and report success to VFS.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/super.c