Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sunrpc: fix braino in ->poll()

POLL_OUT isn't what callers of ->poll() are expecting to see; it's
actually __SI_POLL | 2 and it's a siginfo code, not a poll bitmap
bit...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: stable@vger.kernel.org
Cc: Bruce Fields <bfields@fieldses.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Al Viro and committed by
Linus Torvalds
1711fd9a 1163d504

+1 -1
+1 -1
net/sunrpc/cache.c
··· 921 921 poll_wait(filp, &queue_wait, wait); 922 922 923 923 /* alway allow write */ 924 - mask = POLL_OUT | POLLWRNORM; 924 + mask = POLLOUT | POLLWRNORM; 925 925 926 926 if (!rp) 927 927 return mask;