Messages in this thread Patch in this message | | | From | <> | Subject | [PATCH 2/2] aio: Update calling to eventfd_signal_count with righ parameter | Date | Tue, 7 Apr 2020 18:59:52 +0800 |
| |
From: He Zhe <zhe.he@windriver.com>
eventfd_signal_count has been changed to take eventfd context as parameter. Update the calling accordingly.
Signed-off-by: He Zhe <zhe.he@windriver.com> --- fs/aio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/aio.c b/fs/aio.c index 5f3d3d8..c03c487 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -1693,7 +1693,8 @@ static int aio_poll_wake(struct wait_queue_entry *wait, unsigned mode, int sync, list_del(&iocb->ki_list); iocb->ki_res.res = mangle_poll(mask); req->done = true; - if (iocb->ki_eventfd && eventfd_signal_count()) { + if (iocb->ki_eventfd && + eventfd_signal_count(iocb->ki_eventfd)) { iocb = NULL; INIT_WORK(&req->work, aio_poll_put_work); schedule_work(&req->work); -- 2.7.4
| |