From: Oleg Drokin on behalf of Hans Reiser <reiser@namesys.com>
To: torvalds@transmeta.com, reiserfs-dev@namesys.com,
linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5 dropping unneded lock precense check.
Date: Wed, 20 Feb 2002 17:22:27 +0300 [thread overview]
Message-ID: <20020220172227.A998@namesys.com> (raw)
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);
reply other threads:[~2002-02-20 14:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020220172227.A998@namesys.com \
--to=reiser@namesys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=reiserfs-dev@namesys.com \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox