]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: fix braino in ->poll()
authorAl Viro <viro@ZenIV.linux.org.uk>
Sat, 7 Mar 2015 21:08:46 +0000 (21:08 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 8 Mar 2015 19:53:46 +0000 (12:53 -0700)
commit2e72ecc35af9c73709f4264935a695b68fa1d3a3
tree4b950dc5f99bd1895e4e5a6a2abb6a7b5a892c5c
parent40f0ac92360dd93cb008d175a0c3c420efd764f0
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>
net/sunrpc/cache.c