Artem Bityutskiy 69f8a75a7d UBIFS: remove an unneeded check
In 'ubifs_recover_size()' we have an "if (!e->inode && c->ro_mount)" statement.
But if 'c->ro_mount' is true, then '!e->inode' must always be true as well. So
we can remove the unnecessary '!e->inode' test and put an
'ubifs_assert(!e->inode)' instead.

This patch also removes an extra trailing white-space in a debugging print,
as well as adds few empty lines to 'ubifs_recover_size()' to make it a bit more
readable.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-05-13 19:23:57 +03:00
..
2008-12-31 14:13:24 +02:00
2011-05-13 19:23:55 +03:00
2011-05-13 19:23:55 +03:00
2011-05-13 19:23:53 +03:00
2011-04-05 10:45:45 +03:00
2011-03-24 16:14:26 +02:00
2011-05-13 19:23:54 +03:00
2008-07-15 17:35:24 +03:00
2011-05-13 19:23:53 +03:00
2011-05-13 19:23:57 +03:00
2010-09-19 21:07:58 +03:00
2011-02-06 15:08:02 +02:00
2008-09-30 11:12:57 +03:00
2011-05-13 19:23:53 +03:00