git: fb3875a38e26 - main - nfsd: Add nfs_extern.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Sep 2026 20:53:22 UTC
The branch main has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=fb3875a38e26c3535a635714f0eedbfd61619866
commit fb3875a38e26c3535a635714f0eedbfd61619866
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2026-09-06 20:51:37 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2026-09-06 20:51:37 +0000
nfsd: Add nfs_extern.h
Oops, forgot to add the new .h file.
MFC after: 3 months
Fixes: 407d7177057d ("nfsd: Clean up the "glue" for the nfsrdma.ko module")
---
sys/fs/nfs/nfs_extern.h | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/sys/fs/nfs/nfs_extern.h b/sys/fs/nfs/nfs_extern.h
new file mode 100644
index 000000000000..4792e4ae2ed4
--- /dev/null
+++ b/sys/fs/nfs/nfs_extern.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2026 Rick Macklem
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#ifndef _NFS_EXTERN_H_
+#define _NFS_EXTERN_H_
+
+#ifdef _KERNEL
+/* Definitions for NFS that might be used elsewhere in the kernel. */
+void nfsrv_svc_reg(SVCXPRT *xprt);
+
+extern int nfsrvd_rdma_port;
+extern int newnfs_numnfsd;
+
+#endif /* _KERNEL */
+
+#endif /* _NFS_EXTERN_H_ */