summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/jbd/transaction.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c
index 1423dadf3db9..2861ee44cb11 100644
--- a/fs/jbd/transaction.c
+++ b/fs/jbd/transaction.c
@@ -1106,16 +1106,6 @@ int journal_dirty_metadata(handle_t *handle, struct buffer_head *bh)
if (jh->b_transaction == handle->h_transaction &&
jh->b_jlist == BJ_Metadata) {
JBUFFER_TRACE(jh, "fastpath");
- console_verbose();
- if (jh->b_transaction != journal->j_running_transaction) {
- printk("jh->b_transaction=%p\n", jh->b_transaction);
- printk("journal->j_running_transaction=%p\n",
- journal->j_running_transaction);
- printk("handle->h_transaction=%p\n",
- handle->h_transaction);
- printk("journal->j_committing_transaction=%p\n",
- journal->j_committing_transaction);
- }
J_ASSERT_JH(jh, jh->b_transaction ==
journal->j_running_transaction);
goto out_unlock_bh;
@@ -1328,9 +1318,6 @@ int journal_stop(handle_t *handle)
journal_t *journal = transaction->t_journal;
int old_handle_count, err;
- if (!handle)
- return 0;
-
J_ASSERT(transaction->t_updates > 0);
J_ASSERT(journal_current_handle() == handle);