diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-08-29 09:00:19 +0800 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 16:57:06 -0700 |
commit | 08413899db89d8d636c2a2d4ba5c356ab587d7ef (patch) | |
tree | 82e65ffa9b0b30d0206259ae99e0fbc8db667936 /fs/ocfs2/suballoc.c | |
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>
Diffstat (limited to 'fs/ocfs2/suballoc.c')
0 files changed, 0 insertions, 0 deletions