diff options
-rw-r--r-- | fs/ubifs/budget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ubifs/budget.c b/fs/ubifs/budget.c index 0bcb8031ca18..44cff803171a 100644 --- a/fs/ubifs/budget.c +++ b/fs/ubifs/budget.c | |||
@@ -763,7 +763,8 @@ long long ubifs_get_free_space(struct ubifs_info *c) | |||
763 | long long available, outstanding, free; | 763 | long long available, outstanding, free; |
764 | 764 | ||
765 | spin_lock(&c->space_lock); | 765 | spin_lock(&c->space_lock); |
766 | min_idx_lebs = ubifs_calc_min_idx_lebs(c); | 766 | min_idx_lebs = c->min_idx_lebs; |
767 | ubifs_assert(min_idx_lebs == ubifs_calc_min_idx_lebs(c)); | ||
767 | outstanding = c->budg_data_growth + c->budg_dd_growth; | 768 | outstanding = c->budg_data_growth + c->budg_dd_growth; |
768 | 769 | ||
769 | /* | 770 | /* |