From: Felix Blyakher Date: Mon, 1 Jun 2009 18:13:24 +0000 (-0500) Subject: xfs: prevent deadlock in xfs_qm_shake() X-Git-Tag: v2.6.30-rc8~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b17d766463d51904cb242f194a780737e5f73ef;p=pandora-kernel.git xfs: prevent deadlock in xfs_qm_shake() It's possible to recurse into filesystem from the memory allocation, which deadlocks in xfs_qm_shake(). Add check for __GFP_FS, and bail out if it is not set. Signed-off-by: Felix Blyakher Signed-off-by: Hedi Berriche Reviewed-by: Christoph Hellwig Reviewed-by: Andi Kleen Signed-off-by: Felix Blyakher --- Reading git-diff-tree failed