[patch 1/2] eventfd use waitqueue lock ...

2007-05-18 Thread Davide Libenzi
The eventfd was using the unlocked waitqueue operations, but it was using a different lock, so poll_wait() would race with it. This patch makes eventfd directly use the waitqueue lock. Signed-off-by: Davide Libenzi <[EMAIL PROTECTED]> - Davide Index: linux-2.6.mod/fs/eventfd.c

[patch 1/2] eventfd use waitqueue lock ...

2007-05-18 Thread Davide Libenzi
The eventfd was using the unlocked waitqueue operations, but it was using a different lock, so poll_wait() would race with it. This patch makes eventfd directly use the waitqueue lock. Signed-off-by: Davide Libenzi [EMAIL PROTECTED] - Davide Index: linux-2.6.mod/fs/eventfd.c