summaryrefslogtreecommitdiff
path: root/net/netlink
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-05-14 18:38:51 (GMT)
committerMark Fasheh <mark.fasheh@oracle.com>2007-05-25 18:00:23 (GMT)
commite9dfc0b2bc42761410e8db6c252c6c5889e178b8 (patch)
treed42beb9d6b2c54bc205e48bc75cdf26ec0eeddc3 /net/netlink
parent1c1ee4c3e7e16d23166a624a132889df3c540a18 (diff)
downloadlinux-e9dfc0b2bc42761410e8db6c252c6c5889e178b8.tar.xz
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 <mark.fasheh@oracle.com>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions