epoll: move ready event check into proper inline
authorDavide Libenzi <davidel@xmailserver.org>
Tue, 22 Mar 2011 23:34:46 +0000 (16:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:15 +0000 (17:44 -0700)
commit3fb0e584a68cd1c5085e69be441f2ad032aaee72
tree8cf550c8fabf54aeca48d76538357b7211a18c83
parentd03e1617f089c0bcbc22b9d4739e04a0b43b14fa
epoll: move ready event check into proper inline

Move the event readiness check into a proper inline, and use it uniformly
inside ep_poll() code.  Events in the ->ovflist are no less ready than the
ones in ->rdllist.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Shawn Bohrer <shawn.bohrer@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/eventpoll.c