]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
nfsdcltrack: break out a function to open the database handle
authorJeff Layton <jlayton@redhat.com>
Thu, 8 Nov 2012 19:56:51 +0000 (14:56 -0500)
committerSteve Dickson <steved@redhat.com>
Sun, 11 Nov 2012 23:01:23 +0000 (18:01 -0500)
When we add a new usermodehelper upcall program to do the database
access, the existing "init" function will be overkill every time
we start up the program.

Break out the database handle establishment routine into a separate
function that we can call from each upcall command in the one-shot
program.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found