From: Mark Fasheh Date: Mon, 14 May 2007 18:38:51 +0000 (-0700) Subject: ocfs2: trylock in ocfs2_readpage() X-Git-Tag: v2.6.22-rc3~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9dfc0b2bc42761410e8db6c252c6c5889e178b8;p=pandora-kernel.git ocfs2: trylock in ocfs2_readpage() Similarly to the page lock / cluster lock inversion in ocfs2_readpage, we can deadlock on ip_alloc_sem. We can down_read_trylock() instead and just return AOP_TRUNCATED_PAGE if the operation fails. Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed