LockD: service creation function introduced
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Wed, 25 Apr 2012 14:22:54 +0000 (18:22 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Jun 2012 00:29:42 +0000 (20:29 -0400)
commit24452239094a8b52f54fd4403f6e177837cecf67
tree4eac5ff5946cb30416ff23157ea861cdfbc1ca96
parentdbf9b5d74ceae787607e3d7db626fffa8be3c03d
LockD: service creation function introduced

This function creates service if it doesn't exist, or increases usage
counter if it does, and returns a pointer to it.  The usage counter will
be droppepd by svc_destroy() later in lockd_up().

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/lockd/svc.c