diff options
| -rw-r--r-- | 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 c8178b7b9212..2cac56210e2b 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 flags) | |||
| 68 | if (!privroot) | 68 | if (!privroot) |
| 69 | return ERR_PTR(-ENODATA); | 69 | return ERR_PTR(-ENODATA); |
| 70 | 70 | ||
| 71 | mutex_lock(&privroot->d_inode->i_mutex); | 71 | mutex_lock_nested(&privroot->d_inode->i_mutex, I_MUTEX_XATTR); |
| 72 | if (REISERFS_SB(sb)->xattr_root) { | 72 | if (REISERFS_SB(sb)->xattr_root) { |
| 73 | xaroot = dget(REISERFS_SB(sb)->xattr_root); | 73 | xaroot = dget(REISERFS_SB(sb)->xattr_root); |
| 74 | goto out; | 74 | goto out; |
