]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26f8339b15f3c498f808772763b661886c60f582
tree3c20ee45ae8b87621ae95cedb6b385bf0e6d7a2f
parentc0e45e784bd4600de34d566813c4d745763fb3e0
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