From: Kalpak Shah Date: Thu, 9 Oct 2008 03:21:54 +0000 (-0400) Subject: ext4: fix xattr deadlock X-Git-Tag: v2.6.28-rc1~709^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d20c685fa365766a8f13584b4c8178a15ab7103;p=pandora-kernel.git ext4: fix xattr deadlock ext4_xattr_set_handle() eventually ends up calling ext4_mark_inode_dirty() which tries to expand the inode by shifting the EAs. This leads to the xattr_sem being downed again and leading to a deadlock. This patch makes sure that if ext4_xattr_set_handle() is in the call-chain, ext4_mark_inode_dirty() will not expand the inode. Signed-off-by: Kalpak Shah Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed