summaryrefslogtreecommitdiffstats
path: root/support/include
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2013-05-07 11:25:29 -0400
committerSteve Dickson <steved@redhat.com>2013-05-07 11:47:35 -0400
commit342446a4a624d4ee8254af859bb7f1de6d268679 (patch)
tree75b007d719971b7fb0d789df62e69862cbf4d390 /support/include
parent8fc8022c75956efb14cd2b1fa93210d534310cf9 (diff)
downloadnfs-utils-342446a4a624d4ee8254af859bb7f1de6d268679.tar.gz
nfs-utils-342446a4a624d4ee8254af859bb7f1de6d268679.tar.xz
nfs-utils-342446a4a624d4ee8254af859bb7f1de6d268679.zip
statd: exit if a statd is already running
Moves nfs_probe_statd from mount to nfs support lib to share with statd. Acked-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include')
-rw-r--r--support/include/nfsrpc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/include/nfsrpc.h b/support/include/nfsrpc.h
index a0b80e1..1bfae7a 100644
--- a/support/include/nfsrpc.h
+++ b/support/include/nfsrpc.h
@@ -156,6 +156,11 @@ extern unsigned long nfs_pmap_getport(const struct sockaddr_in *,
const struct timeval *);
/*
+ * Use nfs_pmap_getport to see if statd is running locally
+ */
+extern int nfs_probe_statd(void);
+
+/*
* Contact a remote RPC service to discover whether it is responding
* to requests.
*/