From e9dfc0b2bc42761410e8db6c252c6c5889e178b8 Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Mon, 14 May 2007 11:38:51 -0700 Subject: [PATCH] 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-format-patch failed