summaryrefslogtreecommitdiffstats
path: root/fs/eventpoll.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-06-11 08:50:10 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2018-06-14 20:08:14 -0400
commit2739b807b0885a09996659be82f813af219c7360 (patch)
tree4899ac192af2bce266c588d717518434c5ad62e1 /fs/eventpoll.c
parent4d572d9f46507be8cfe326aa5bc3698babcbdfa7 (diff)
downloadlinux-2739b807b0885a09996659be82f813af219c7360.tar.bz2
aio: only return events requested in poll_mask() for IOCB_CMD_POLL
The ->poll_mask() operation has a mask of events that the caller is interested in, but not all implementations might take it into account. Mask the return value to only the requested events, similar to what the poll and epoll code does. Reported-by: Avi Kivity <avi@scylladb.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions