Revert "ext4: nested locking for xattr inode"
This reverts commit b9112f49aa
.
This commit is contained in:
parent
ec15971004
commit
603407d8ff
1 changed files with 2 additions and 2 deletions
|
@ -422,7 +422,7 @@ static int ext4_xattr_inode_iget(struct inode *parent, unsigned long ea_ino,
|
|||
ext4_set_inode_state(inode, EXT4_STATE_LUSTRE_EA_INODE);
|
||||
ext4_xattr_inode_set_ref(inode, 1);
|
||||
} else {
|
||||
inode_lock_nested(inode, I_MUTEX_XATTR);
|
||||
inode_lock(inode);
|
||||
inode->i_flags |= S_NOQUOTA;
|
||||
inode_unlock(inode);
|
||||
}
|
||||
|
@ -986,7 +986,7 @@ static int ext4_xattr_inode_update_ref(handle_t *handle, struct inode *ea_inode,
|
|||
s64 ref_count;
|
||||
int ret;
|
||||
|
||||
inode_lock_nested(ea_inode, I_MUTEX_XATTR);
|
||||
inode_lock(ea_inode);
|
||||
|
||||
ret = ext4_reserve_inode_write(handle, ea_inode, &iloc);
|
||||
if (ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue