Skip to contentSkip to conversation

exportfs: reallow building as a module

PATCH In review Jonas Gorski 2 participants 2 messages May 24, 2011 – May 25, 2011 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exportfs: reallow building as a module

Commit 990d6c2d7aee921e3bce22b2d6a750fd552262be ("vfs: Add name to file handle conversion support") changed EXPORTFS to be a bool.
This was needed for earlier revisions of the original patch, but the actual commit put the code needing it into its own file that only gets compiled when FHANDLE is selected which in turn selects EXPORTFS.
So EXPORTFS can be safely compiled as a module when not selecting FHANDLE.

---
 fs/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/Kconfig +1 -1
index f3aa9b0..efb7d4e 100644
@@ -47,7 +47,7 @@ config FS_POSIX_ACL
 	def_bool n
 
 config EXPORTFS
-	bool
+	tristate
 
 config FILE_LOCKING
 	bool "Enable POSIX file locking API" if EXPERT
Signature · 1 line
1.7.2.5
Acked-by on v1 1/1
#1 lore raw
Quoted 17 lines · Jonas Gorski

Commit 990d6c2d7aee921e3bce22b2d6a750fd552262be ("vfs: Add name to file handle conversion support") changed EXPORTFS to be a bool.
This was needed for earlier revisions of the original patch, but the actual commit put the code needing it into its own file that only gets compiled when FHANDLE is selected which in turn selects EXPORTFS.
So EXPORTFS can be safely compiled as a module when not selecting FHANDLE.

---
 fs/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/Kconfig +0 -0
index f3aa9b0..efb7d4e 100644

fs/Kconfig config FS_POSIX_ACL · line 53

Quoted 8 lines
fs/Kconfig +1 -1
@@ -47,7 +47,7 @@ config FS_POSIX_ACL
 	def_bool n
 
 config EXPORTFS
-	bool
+	tristate
 
 config FILE_LOCKING
 	bool "Enable POSIX file locking API" if EXPERT