UBIFS: correct orphan deletion order
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Wed, 23 Jul 2008 13:55:55 +0000 (16:55 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 13 Aug 2008 08:32:53 +0000 (11:32 +0300)
commitf769108424a19c7758546d1d7d19f098b1a33759
tree324e0ac92b5f02e274f87dd6271c211a127a9b99
parent7d62ff2c396470bb62a3853f14d3962eac1da974
UBIFS: correct orphan deletion order

The debug function that checks orphans, does so using the
TNC mutex. That means it will not see a correct picture
if the inode is removed from the orphan tree before it is
removed from TNC.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
fs/ubifs/journal.c