Artem Bityutskiy 2b1844a8c9 UBIFS: introduce helper functions for debugging checks and tests
This patch introduces helper functions for all debugging checks, so instead of
doing

if (!(ubifs_chk_flags & UBIFS_CHK_GEN))

we now do

if (!dbg_is_chk_gen(c))

This is a preparation to further changes where the flags will go away, and
we'll need to only change the helper functions, but the code which utilizes
them won't be touched.

At the same time this patch removes 'dbg_force_in_the_gaps()',
'dbg_force_in_the_gaps_enabled()', and dbg_failure_mode helpers for
consistency.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-07-04 10:54:28 +03:00
..
2008-12-31 14:13:24 +02:00
2011-06-03 18:12:31 +03:00
2011-04-05 10:45:45 +03:00
2008-07-15 17:35:24 +03:00
2011-07-04 10:54:27 +03:00
2011-05-16 14:12:15 +03:00
2008-09-30 11:12:57 +03:00
2011-07-04 10:54:27 +03:00