commit | 08413899db89d8d636c2a2d4ba5c356ab587d7ef | [log] [tgz] |
---|---|---|
author | Tao Ma <tao.ma@oracle.com> | Fri Aug 29 09:00:19 2008 +0800 |
committer | Mark Fasheh <mfasheh@suse.com> | Mon Oct 13 16:57:06 2008 -0700 |
tree | 82e65ffa9b0b30d0206259ae99e0fbc8db667936 | |
parent | 28b8ca0b7f70b1b048d03dc0b9d87f58619e9791 [diff] |
ocfs2: Resolve deadlock in ocfs2_xattr_free_block. In ocfs2_xattr_free_block, we take a cluster lock on xb_alloc_inode while we have a transaction open. This will deadlock the downconvert thread, so fix it. We can clean up how xattr blocks are removed while here - this patch also moves the mechanism of releasing xattr block (including both value, xattr tree and xattr block) into this function. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>