public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.5 dropping unneded lock precense check.
@ 2002-02-20 14:22 Oleg Drokin on behalf of Hans Reiser
  0 siblings, 0 replies; only message in thread
From: Oleg Drokin on behalf of Hans Reiser @ 2002-02-20 14:22 UTC (permalink / raw)
  To: torvalds, reiserfs-dev, linux-kernel

Hello!

   After BKL was moved from the VFS into the filesystem's methods in the lookup
   call, we do not need to check BKL is actually held (we know it is not).
   This patch patch removes unneeded lock_depth check.
   Without this patch reiserfs cannot be used on SMP.
   Please apply.


--- linux-2.5.5/fs/reiserfs/namei.c.orig	Thu Feb 14 11:53:09 2002
+++ linux-2.5.5/fs/reiserfs/namei.c	Thu Feb 14 11:53:17 2002
@@ -344,8 +344,6 @@
     struct reiserfs_dir_entry de;
     INITIALIZE_PATH (path_to_entry);
 
-    reiserfs_check_lock_depth("lookup") ;
-
     if (dentry->d_name.len > REISERFS_MAX_NAME_LEN (dir->i_sb->s_blocksize))
 	return ERR_PTR(-ENAMETOOLONG);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-20 14:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-20 14:22 [PATCH] 2.5 dropping unneded lock precense check Oleg Drokin on behalf of Hans Reiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox