NFS: callback service creation function introduced
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 20 Aug 2012 14:00:11 +0000 (18:00 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 1 Oct 2012 22:25:11 +0000 (15:25 -0700)
commitdd018428dce087b72d9e6a0b32e93cb8088b3aaa
treeffb555c77f9553fe01267ff26b452085c9a11999
parentc8ceb4124b53a439edfe3fe89a646be1e067ef17
NFS: callback service creation function introduced

This function creates service if it's not exist, or increase usage counter of
the existent, and returns pointer to it.
Usage counter will be droppepd by svc_destroy() later in nfs_callback_up().

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback.c