nfs-utils: move check for active knfsd to helper function
authorJeff Layton <jlayton@redhat.com>
Sat, 1 Aug 2009 11:31:36 +0000 (07:31 -0400)
committerSteve Dickson <steved@redhat.com>
Sat, 1 Aug 2009 11:31:36 +0000 (07:31 -0400)
commit4c477855cd025a18ac9decaf1bc9002aaae75689
treead70c7b86fc2f35fb542fbef3daa162e00a60313
parent775dea70ccc7556ac613def7896b3d3c1ff85ab5
nfs-utils: move check for active knfsd to helper function

nfssvc_setfds checks to see if knfsd is already running. Move this
check to a helper function. Eventually the nfsd code will call this
directly.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/nfsd/nfssvc.c