From: Artem Bityutskiy Date: Wed, 27 Apr 2011 11:52:35 +0000 (+0300) Subject: UBIFS: split ubifs_rcvry_gc_commit X-Git-Tag: v3.0-rc1~317^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=447442139c764fd75cf892905d0feb08a9b983ed;p=pandora-kernel.git UBIFS: split ubifs_rcvry_gc_commit Split the 'ubifs_rcvry_gc_commit()' function and introduce a 'grab_empty_leb()' heler. This cleans 'ubifs_rcvry_gc_commit()' a little and makes it a bit less of spagetti. Also, add a commentary which explains why it is crucial to first search for an empty LEB and then run commit. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed