diff options
Diffstat (limited to 'fs/jbd/commit.c')
-rw-r--r-- | fs/jbd/commit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/jbd/commit.c b/fs/jbd/commit.c index d2f652e6e22e..cd931ef1f000 100644 --- a/fs/jbd/commit.c +++ b/fs/jbd/commit.c | |||
@@ -472,6 +472,9 @@ void journal_commit_transaction(journal_t *journal) | |||
472 | */ | 472 | */ |
473 | commit_transaction->t_state = T_COMMIT; | 473 | commit_transaction->t_state = T_COMMIT; |
474 | 474 | ||
475 | J_ASSERT(commit_transaction->t_nr_buffers <= | ||
476 | commit_transaction->t_outstanding_credits); | ||
477 | |||
475 | descriptor = NULL; | 478 | descriptor = NULL; |
476 | bufs = 0; | 479 | bufs = 0; |
477 | while (commit_transaction->t_buffers) { | 480 | while (commit_transaction->t_buffers) { |