patch-2.4.23 linux-2.4.23/fs/jbd/transaction.c
Next file: linux-2.4.23/fs/jffs2/dir.c
Previous file: linux-2.4.23/fs/jbd/journal.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/fs/jbd/transaction.c
- Orig date:
2003-06-13 07:51:37.000000000 -0700
diff -urN linux-2.4.22/fs/jbd/transaction.c linux-2.4.23/fs/jbd/transaction.c
@@ -1581,9 +1581,6 @@
assert_spin_locked(&journal_datalist_lock);
transaction = jh->b_transaction;
-#ifdef __SMP__
- J_ASSERT (current->lock_depth >= 0);
-#endif
J_ASSERT_JH(jh, jh->b_jlist < BJ_Types);
if (jh->b_jlist != BJ_None)
@@ -2016,9 +2013,6 @@
assert_spin_locked(&journal_datalist_lock);
-#ifdef __SMP__
- J_ASSERT (current->lock_depth >= 0);
-#endif
J_ASSERT_JH(jh, jh->b_jlist < BJ_Types);
J_ASSERT_JH(jh, jh->b_transaction == transaction ||
jh->b_transaction == 0);
@@ -2108,9 +2102,6 @@
int was_dirty = 0;
assert_spin_locked(&journal_datalist_lock);
-#ifdef __SMP__
- J_ASSERT_JH(jh, current->lock_depth >= 0);
-#endif
/* If the buffer is now unused, just drop it. */
if (jh->b_next_transaction == NULL) {
__journal_unfile_buffer(jh);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)