fs: eventpoll: Fix lockups

Based on codeaurora