[PATCH] reiserfs: fix deadlock in inode creation failure path w/ default ACL

2005-07-18 Thread Jeff Mahoney
reiserfs_new_inode() can call iput() with the xattr lock held. This will cause a deadlock to occur when reiserfs_delete_xattrs() is called to clean up. The following patch releases the lock and reacquires it after the iput. This is safe because interaction with xattrs is complete, and the

[PATCH] reiserfs: fix deadlock in inode creation failure path w/ default ACL

2005-07-18 Thread Jeff Mahoney
reiserfs_new_inode() can call iput() with the xattr lock held. This will cause a deadlock to occur when reiserfs_delete_xattrs() is called to clean up. The following patch releases the lock and reacquires it after the iput. This is safe because interaction with xattrs is complete, and the