Commit 764ab3f9 authored by NeilBrown's avatar NeilBrown Committed by Greg Kroah-Hartman
Browse files

lockd: rename lockd_create_svc() to lockd_get()



[ Upstream commit ecd3ad68 ]

lockd_create_svc() already does an svc_get() if the service already
exists, so it is more like a "get" than a "create".

So:
 - Move the increment of nlmsvc_users into the function as well
 - rename to lockd_get().

It is now the inverse of lockd_put().

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent d38cc54b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment