]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit2a338a543163ad6b42f4732396249cea6d3a33c8
treebe6ebad2483c87d4c0840dd120bc0684dbc99224
parentbaea99445dd4675a834e8a5987d2f368adb62e6c
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