[lkml]   [2002]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] 2.5 dropping unneded lock precense check.

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))

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:24    [W:0.044 / U:0.316 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site