Artem Bityutskiy 447442139c 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 <Artem.Bityutskiy@nokia.com>
2011-05-13 19:23:56 +03:00
..
2011-05-13 19:23:55 +03:00
2011-05-13 19:23:55 +03:00
2011-05-13 19:23:53 +03:00
2011-04-05 10:45:45 +03:00
2011-03-24 16:14:26 +02:00
2011-05-13 19:23:54 +03:00
2011-05-13 19:23:53 +03:00
2011-05-13 19:23:56 +03:00
2010-09-19 21:07:58 +03:00
2011-02-06 15:08:02 +02:00
2011-05-13 19:23:53 +03:00