From: "Randy.Dunlap" Subject: [PATCH] remove last __SMP__ Date: Thu, 18 Sep 2003 21:31:05 -0700 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20030918213105.3d3edb2e.rddunlap@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from fw.osdl.org ([65.172.181.6]:64413 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261263AbTISEdn (ORCPT ); Fri, 19 Sep 2003 00:33:43 -0400 To: akpm List-Id: linux-fsdevel.vger.kernel.org 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 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: sct@redhat.com, akpm@digeo.com, adilger@clusterfs.com diffstat: = fs/jbd/transaction.c | 3 --- 1 files changed, 3 deletions(-) diff -Naur ./fs/jbd/transaction.c~rm_smp ./fs/jbd/transaction.c --- ./fs/jbd/transaction.c~rm_smp 2003-09-08 12:49:59.000000000 -0700 +++ ./fs/jbd/transaction.c 2003-09-18 21:20:22.000000000 -0700 @@ -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);