]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: clean up free space checking
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 29 Jun 2009 15:58:34 +0000 (18:58 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 9 Jul 2009 06:19:38 +0000 (09:19 +0300)
commit501665183725fef4b53ca2e2502067bf89a6e9d2
treecc3a9046a6abbbc026320449ee59b07bb70f6109
parent49834b76aab8507d37ead733b388988cf32c75c6
UBIFS: clean up free space checking

recovery.c has 'is_empty()' helper and it is better to use
this helper instead of re-implementing it in several places.
This patch does this and removes some amount of unneeded code.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Reviewed-by: Adrian Hunter <Adrian.Hunter@nokia.com>
fs/ubifs/recovery.c