aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/ubifs/gc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ubifs/gc.c b/fs/ubifs/gc.c
index 76ca53cd3eee..9718da86ad01 100644
--- a/fs/ubifs/gc.c
+++ b/fs/ubifs/gc.c
@@ -668,8 +668,7 @@ int ubifs_garbage_collect(struct ubifs_info *c, int anyway)
668 ubifs_assert(!wbuf->used); 668 ubifs_assert(!wbuf->used);
669 669
670 for (i = 0; ; i++) { 670 for (i = 0; ; i++) {
671 int space_before = c->leb_size - wbuf->offs - wbuf->used; 671 int space_before, space_after;
672 int space_after;
673 672
674 cond_resched(); 673 cond_resched();
675 674