Commit 131130b9 authored by Artem Bityutskiy's avatar Artem Bityutskiy

UBIFS: add forgotten gc_idx_lebs component

We add this component at other similar places, but not in this
Signed-off-by: default avatarArtem Bityutskiy <>
parent ad507653
......@@ -243,7 +243,7 @@ int ubifs_find_dirty_leb(struct ubifs_info *c, struct ubifs_lprops *ret_lp,
int lebs, rsvd_idx_lebs = 0;
lebs = c->lst.empty_lebs;
lebs = c->lst.empty_lebs + c->idx_gc_cnt;
lebs += c->freeable_cnt - c->lst.taken_empty_lebs;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment