From: Tao Ma Date: Fri, 29 Aug 2008 01:00:19 +0000 (+0800) Subject: ocfs2: Resolve deadlock in ocfs2_xattr_free_block. X-Git-Tag: v2.6.28-rc1~572^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08413899db89d8d636c2a2d4ba5c356ab587d7ef;p=pandora-kernel.git 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 Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed