Skip to contentSkip to conversation

remove last __SMP__

PATCH New Randy.Dunlap 1 participant 1 message Sep 19, 2003 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove last __SMP__

Hi,

Stephen says that this can be completely nuked.
Please apply to 2.6.0-test5.

Thanks,
--
~Randy

patch_name: rm_last_SMP.patch
patch_version: 2003-09-18.21:22:08
author: Randy.Dunlap <[email protected]>
description: remove use of __SMP__ in fs/jbd;

		Stephen Tweedie says that this can be nuked;

product: Linux
product_versions: 2.6.0-test5
maintainers: [email protected], [email protected], [email protected]
diffstat: =

 fs/jbd/transaction.c |    3 ---
 1 files changed, 3 deletions(-)
fs/jbd/transaction.c renamed from fs/jbd/transaction.c~rm_smp +0 -3
diff -Naur ./fs/jbd/transaction.c~rm_smp ./fs/jbd/transaction.c
@@ -1932,9 +1932,6 @@
 	J_ASSERT_JH(jh, jbd_is_locked_bh_state(bh));
 	assert_spin_locked(&transaction->t_journal->j_list_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);