Artem Bityutskiy 83cef708c6 UBIFS: introduce more I/O helpers
Introduce the following I/O helper functions: 'ubifs_leb_read()',
'ubifs_leb_write()', 'ubifs_leb_change()', 'ubifs_leb_unmap()',
'ubifs_leb_map()', 'ubifs_is_mapped().

The idea is to wrap all UBI I/O functions in order to encapsulate various
assertions and error path handling (error message, stack dump, switching to R/O
mode). And there are some other benefits of this which will be used in the
following patches.

This patch does not switch whole UBIFS to use these functions yet.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2011-07-04 10:54:33 +03:00
..
2008-12-31 14:13:24 +02:00
2011-07-04 10:54:33 +03:00
2011-07-04 10:54:33 +03: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:33 +03:00
2011-07-04 10:54:33 +03:00
2011-05-16 14:12:15 +03:00
2008-09-30 11:12:57 +03:00
2011-07-04 10:54:33 +03:00