Commit 8191e1fa8131a422f4bf7b0f2dc1f8543fd17783

Authored by Artem Bityutskiy
1 parent 601c0bc467

UBIFS: do not update min_idx_lebs in stafs

This is bad because the rest of the code should not depend on it,
and this may hide bugss, instead of revealing them.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -741,7 +741,6 @@
741 741  
742 742 available = ubifs_calc_available(c, min_idx_lebs);
743 743 outstanding = c->budg_data_growth + c->budg_dd_growth;
744   - c->min_idx_lebs = min_idx_lebs;
745 744 spin_unlock(&c->space_lock);
746 745  
747 746 if (available > outstanding)