[RFC PATCH 2/2] SUNRPC: connect local transports with unix_stream_connect_root() helper

2012-08-10 Thread Stanislav Kinsbursky
Today, there is a problem in connecting of local SUNRPC thansports. These transports uses UNIX sockets and connection itself is done by rpciod workqueue. But UNIX sockets lookup is done in context of process file system root. I.e. all local thunsports are connecting in rpciod context. This works

[RFC PATCH 2/2] SUNRPC: connect local transports with unix_stream_connect_root() helper

2012-08-10 Thread Stanislav Kinsbursky
Today, there is a problem in connecting of local SUNRPC thansports. These transports uses UNIX sockets and connection itself is done by rpciod workqueue. But UNIX sockets lookup is done in context of process file system root. I.e. all local thunsports are connecting in rpciod context. This works