diff options
author | NeilBrown <neilb@suse.de> | 2021-11-29 07:51:25 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-12-13 21:42:56 +0300 |
commit | ecd3ad68d2c6d3ae178a63a2d9a02c392904fd36 (patch) | |
tree | da2d319905a9a9d90cdd536ddb587c25934bbf7e /include/linux/sunrpc | |
parent | 865b674069e05e5779fcf8cf7a166d2acb7e930b (diff) | |
download | linux-ecd3ad68d2c6d3ae178a63a2d9a02c392904fd36.tar.xz |
lockd: rename lockd_create_svc() to lockd_get()
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: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/sunrpc')
0 files changed, 0 insertions, 0 deletions