diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-27 15:52:35 +0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-13 20:23:56 +0400 |
commit | 447442139c764fd75cf892905d0feb08a9b983ed (patch) | |
tree | 2a3f547c28d5e28b25ce54980539e09eff6d6375 /kernel/capability.c | |
parent | ec0681426526b23d3e12cf247d64676806c30b7f (diff) | |
download | linux-447442139c764fd75cf892905d0feb08a9b983ed.tar.xz |
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>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions