From: Artem Bityutskiy Date: Fri, 3 Jun 2011 10:45:09 +0000 (+0300) Subject: UBIFS: introduce more I/O helpers X-Git-Tag: v3.1-rc1~327^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83cef708c606f46a2b527af025acb3d24555f0c4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed