projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
601c0bc
)
UBIFS: do not update min_idx_lebs in stafs
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Fri, 22 Aug 2008 09:26:40 +0000
(12:26 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Sun, 31 Aug 2008 14:15:43 +0000
(17:15 +0300)
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>
fs/ubifs/budget.c
patch
|
blob
|
history
diff --git
a/fs/ubifs/budget.c
b/fs/ubifs/budget.c
index
1540981
..
ac0d2e1
100644
(file)
--- a/
fs/ubifs/budget.c
+++ b/
fs/ubifs/budget.c
@@
-741,7
+741,6
@@
long long ubifs_budg_get_free_space(struct ubifs_info *c)
available = ubifs_calc_available(c, min_idx_lebs);
outstanding = c->budg_data_growth + c->budg_dd_growth;
- c->min_idx_lebs = min_idx_lebs;
spin_unlock(&c->space_lock);
if (available > outstanding)