commit | 447442139c764fd75cf892905d0feb08a9b983ed | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Wed Apr 27 14:52:35 2011 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri May 13 19:23:56 2011 +0300 |
tree | 2a3f547c28d5e28b25ce54980539e09eff6d6375 | |
parent | ec0681426526b23d3e12cf247d64676806c30b7f [diff] |
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>