瀏覽代碼

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.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Acked-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Jonas Gorski 14 年之前
父節點
當前提交
79fead47c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/Kconfig

+ 1 - 1
fs/Kconfig

@@ -47,7 +47,7 @@ config FS_POSIX_ACL
 	def_bool n
 	def_bool n
 
 
 config EXPORTFS
 config EXPORTFS
-	bool
+	tristate
 
 
 config FILE_LOCKING
 config FILE_LOCKING
 	bool "Enable POSIX file locking API" if EXPERT
 	bool "Enable POSIX file locking API" if EXPERT