Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157049794
D56777.id177179.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D56777.id177179.diff
View Options
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -62,6 +62,9 @@
#include <rpc/types.h>
#include <rpc/auth.h>
+/* Publicly exported FS */
+static struct nfs_public nfs_pub;
+
static MALLOC_DEFINE(M_NETADDR, "export_host", "Export host address structure");
#if defined(INET) || defined(INET6)
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -237,9 +237,6 @@
*/
static struct mtx __exclusive_cache_line vnode_list_mtx;
-/* Publicly exported FS */
-struct nfs_public nfs_pub;
-
static uma_zone_t buf_trie_zone;
static smr_t buf_trie_smr;
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -1071,7 +1071,6 @@
extern TAILQ_HEAD(mntlist, mount) mountlist; /* mounted filesystem list */
extern struct mtx_padalign mountlist_mtx;
-extern struct nfs_public nfs_pub;
extern struct sx vfsconf_sx;
#define vfsconf_lock() sx_xlock(&vfsconf_sx)
#define vfsconf_unlock() sx_xunlock(&vfsconf_sx)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 3:31 AM (22 m, 23 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33164370
Default Alt Text
D56777.id177179.diff (1 KB)
Attached To
Mode
D56777: nfs_pub: move from vfs_subr.c to vfs_export.c
Attached
Detach File
Event Timeline
Log In to Comment