mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-05 10:17:58 -05:00
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: <[email protected]> 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]>
This commit is contained in:
parent
42e380832a
commit
1173a729fc
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ static struct dentry *get_xa_root(struct super_block *sb, int flags)
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue