Commit:     1173a729fc3ce2fa0d698bd39be8ff7bf6c70bf1
Parent:     42e380832a6911c8a3173ee0172fbc0e4864d80b
Author:     Jeff Mahoney <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 30 15:09:50 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Apr 30 16:40:40 2007 -0700

    reiserfs: suppress lockdep warning
    We're getting lockdep warnings due to a post-2.6.21-rc7 bugfix.
    The xattr_sem can never be taken in the manner described. Internal inodes
    are protected by I_PRIVATE.  Add the appropriate annotation.
    Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
    Cc: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 fs/reiserfs/xattr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/reiserfs/xattr.c b/fs/reiserfs/xattr.c
index c8178b7..2cac562 100644
--- a/fs/reiserfs/xattr.c
+++ b/fs/reiserfs/xattr.c
@@ -68,7 +68,7 @@ static struct dentry *get_xa_root(struct super_block *sb, int 
        if (!privroot)
                return ERR_PTR(-ENODATA);
-       mutex_lock(&privroot->d_inode->i_mutex);
+       mutex_lock_nested(&privroot->d_inode->i_mutex, I_MUTEX_XATTR);
        if (REISERFS_SB(sb)->xattr_root) {
                xaroot = dget(REISERFS_SB(sb)->xattr_root);
                goto out;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to