]> git.karo-electronics.de Git - linux-beck.git/commit
SUNRPC: optimize net_ns dereferencing in rpcbind creation calls
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Fri, 13 Jan 2012 08:52:18 +0000 (12:52 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Feb 2012 00:28:09 +0000 (19:28 -0500)
commit2ea75a10add779b722650aa10836247e7d609fd7
treead5a78886546f8c16523424f928c1b2e7c0960e9
parentdff02d499c067bdde589b764321b35fe763569f6
SUNRPC: optimize net_ns dereferencing in rpcbind creation calls

Static rpcbind creation functions can be parametrized by network namespace
pointer, calculated only once, instead of using init_net pointer (or taking it
from current when virtualization will be comleted) in many places.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c