timerfd use waitqueue lock ...
authorDavide Libenzi <davidel@xmailserver.org>
Fri, 18 May 2007 19:02:33 +0000 (12:02 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 18 May 2007 20:09:34 +0000 (13:09 -0700)
commit18963c01b8abf381f102752ce024c3582a716125
tree6c7e594804608be82ec3988399e905e20d486f51
parentd48eb2331595224ffe89665e79721d44b40bb047
timerfd use waitqueue lock ...

The timerfd was using the unlocked waitqueue operations, but it was
using a different lock, so poll_wait() would race with it.

This makes timerfd directly use the waitqueue lock.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/timerfd.c