SUNRPC: change svc_get() to return the svc.
authorNeilBrown <neilb@suse.de>
Mon, 29 Nov 2021 04:51:25 +0000 (15:51 +1100)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 13 Dec 2021 18:42:50 +0000 (13:42 -0500)
commitdf5e49c880ea0776806b8a9f8ab95e035272cf6f
tree57020650034662cd4daa43163b5e06403b801997
parent89b24336f03a8ba560e96b0c47a8434a7fa48e3c
SUNRPC: change svc_get() to return the svc.

It is common for 'get' functions to return the object that was 'got',
and there are a couple of places where users of svc_get() would be a
little simpler if svc_get() did that.

Make it so.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/lockd/svc.c
fs/nfs/callback.c
include/linux/sunrpc/svc.h