Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Reiser <reiser@namesys.com>2002-02-20 20:18:58 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-02-20 20:18:58 -0800
commit195fd29f747ec92ebfc90db9f6f2252c7af0be52 (patch)
treed47605046eec70605d120c7b456c61ecea75b0c2
parent3c45fbb3a37b20d90ad609cda2b33bdd2e15b6a3 (diff)
[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.
-rw-r--r--fs/reiserfs/namei.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/reiserfs/namei.c b/fs/reiserfs/namei.c
index 80e64d703b2a..6b448dd91c35 100644
--- a/fs/reiserfs/namei.c
+++ b/fs/reiserfs/namei.c
@@ -344,8 +344,6 @@ static struct dentry * reiserfs_lookup (struct inode * dir, struct dentry * dent
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);