projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad50765
)
UBIFS: add forgotten gc_idx_lebs component
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Mon, 25 Aug 2008 15:34:45 +0000
(18:34 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Sun, 31 Aug 2008 14:21:31 +0000
(17:21 +0300)
We add this component at other similar places, but not in this
one.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/find.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ubifs/find.c
b/fs/ubifs/find.c
index 9fc55ae7b0332cb2b8ddb0836b9435ea8ba15449..e045c8b55423e9adc7c312efbd8164f7e3584bc5 100644
(file)
--- a/
fs/ubifs/find.c
+++ b/
fs/ubifs/find.c
@@
-243,7
+243,7
@@
int ubifs_find_dirty_leb(struct ubifs_info *c, struct ubifs_lprops *ret_lp,
int lebs, rsvd_idx_lebs = 0;
spin_lock(&c->space_lock);
- lebs = c->lst.empty_lebs;
+ lebs = c->lst.empty_lebs
+ c->idx_gc_cnt
;
lebs += c->freeable_cnt - c->lst.taken_empty_lebs;
/*