]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: add a symlink from rpc-client directory to the xprt_switch
authorOlga Kornievskaia <kolga@netapp.com>
Tue, 8 Jun 2021 19:59:17 +0000 (15:59 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 8 Jul 2021 18:03:23 +0000 (14:03 -0400)
commit8f2cc0bfc11bc7ced16a5d724ac6e5db9871395b
treebe6ebad2483c87d4c0840dd120bc0684dbc99224
parent69d227baad1f196771f6730ac0c47e4287697657
sunrpc: add a symlink from rpc-client directory to the xprt_switch

An rpc client uses a transport switch and one ore more transports
associated with that switch. Since transports are shared among
rpc clients, create a symlink into the xprt_switch directory
instead of duplicating entries under each rpc client.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c
net/sunrpc/sysfs.c
net/sunrpc/sysfs.h