git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1ee4c
)
ocfs2: trylock in ocfs2_readpage()
author
Mark Fasheh
<mark.fasheh@oracle.com>
Mon, 14 May 2007 18:38:51 +0000
(11:38 -0700)
committer
Mark Fasheh
<mark.fasheh@oracle.com>
Fri, 25 May 2007 18:00:23 +0000
(11:00 -0700)
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 <mark.fasheh@oracle.com>
No differences found