sunrpc: rpc_pipe_poll may miss available data in some cases
authorJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 6 Nov 2007 18:05:36 +0000 (13:05 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 17 Nov 2007 18:08:47 +0000 (13:08 -0500)
Pipe messages start out life on a queue on the inode, but when first
read they're moved to the filp's private pointer.  So it's possible for
a poll here to return null even though there's a partially read message
available.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpc_pipe.c

Simple merge