SUNRPC: make AF_LOCAL connect synchronous
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 20 Feb 2013 22:52:19 +0000 (17:52 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 28 Feb 2013 17:47:17 +0000 (09:47 -0800)
commitdc107402ae06286a9ed33c32daf3f35514a7cb8d
tree771882a1a62e2c56ae2c262764690417cecd776a
parent56edc86b5a72bdbc86358e57fb09165136baf0b8
SUNRPC: make AF_LOCAL connect synchronous

It doesn't appear that anyone actually needs to connect asynchronously.

Also, using a workqueue for the connect means we lose the namespace
information from the original process.  This is a problem since there's
no way to explicitly pass in a filesystem namespace for resolution of an
AF_LOCAL address.

Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtsock.c