diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-08-29 01:00:19 (GMT) |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-10-13 23:57:06 (GMT) |
commit | 08413899db89d8d636c2a2d4ba5c356ab587d7ef (patch) | |
tree | 82e65ffa9b0b30d0206259ae99e0fbc8db667936 /fs/ocfs2/suballoc.h | |
parent | 28b8ca0b7f70b1b048d03dc0b9d87f58619e9791 (diff) | |
download | linux-fsl-qoriq-08413899db89d8d636c2a2d4ba5c356ab587d7ef.tar.xz |
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.h')
0 files changed, 0 insertions, 0 deletions