SUNRPC: Ensure that xs_nospace return values are propagated
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:38:01 +0000 (14:38 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:38:01 +0000 (14:38 -0400)
commit5e3771ce2d6a69e10fcc870cdf226d121d868491
tree3c20ee45ae8b87621ae95cedb6b385bf0e6d7a2f
parent8a2cec295f4499cc9d4452e9b02d4ed071bb42d3
SUNRPC: Ensure that xs_nospace return values are propagated

If xs_nospace() finds that the socket has disconnected, it attempts to
return ENOTCONN, however that value is then squashed by the callers.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtsock.c