]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita583d00f9b94aeec54015c435d2ecfe5ec43ae7e
tree771882a1a62e2c56ae2c262764690417cecd776a
parente6ba9ad531f076aed36097ca882c3bbe1ab90d22
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