Skip to contentSkip to conversation

fs: move exportfs since it is not a networking filesystem

PATCH In review Randy Dunlap 2 participants 2 messages Oct 15, 2010 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: move exportfs since it is not a networking filesystem

From: Randy Dunlap <[email protected]>

Move the EXPORTFS kconfig symbol out of the NETWORK_FILESYSTEMS block since it provides a library function that can be (and is) used by other (non-network) filesystems.

This also eliminates a kconfig dependency warning:

warning: (XFS_FS && BLOCK || NFSD && NETWORK_FILESYSTEMS && INET && FILE_LOCKING && BKL) selects EXPORTFS which has unmet direct dependencies (NETWORK_FILESYSTEMS)

Cc Dave Chinner <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Alex Elder <[email protected]>
---
 fs/Kconfig |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
fs/Kconfig +3 -3
@@ -47,6 +47,9 @@ source "fs/nilfs2/Kconfig"
 
 endif # BLOCK
 
+config EXPORTFS
+	tristate
+
 config FILE_LOCKING
 	bool "Enable POSIX file locking API" if EMBEDDED
 	default y
@@ -221,9 +224,6 @@ config LOCKD_V4
 	depends on FILE_LOCKING
 	default y
 
-config EXPORTFS
-	tristate
-
 config NFS_ACL_SUPPORT
 	tristate
 	select FS_POSIX_ACL