aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jbd')
-rw-r--r--fs/jbd/checkpoint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/jbd/checkpoint.c b/fs/jbd/checkpoint.c
index 98d830401c56..58133ab9457e 100644
--- a/fs/jbd/checkpoint.c
+++ b/fs/jbd/checkpoint.c
@@ -339,8 +339,10 @@ int log_do_checkpoint(journal_t *journal)
339 } 339 }
340 } while (jh != last_jh && !retry); 340 } while (jh != last_jh && !retry);
341 341
342 if (batch_count) 342 if (batch_count) {
343 __flush_batch(journal, bhs, &batch_count); 343 __flush_batch(journal, bhs, &batch_count);
344 retry = 1;
345 }
344 346
345 /* 347 /*
346 * If someone cleaned up this transaction while we slept, we're 348 * If someone cleaned up this transaction while we slept, we're