kernel: exportfs: reallow building as a module
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 25 May 2011 20:57:13 +0000 (20:57 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 25 May 2011 20:57:13 +0000 (20:57 +0000)
It was originally tristate, but was changed to bool to prevent a build
breakage in an earlier patch revision (for a new syscall). The actual
commit[1] changed it in a way this isn't needed anymore, but
accidentially left the EXPORTFS change in. There's no reason for it
not being buildable as a module, so changing it back to tristate is
fine.

see: https://patchwork.kernel.org/patch/812832/

Thank you Jonas Gorski for the patch.

SVN-Revision: 27011

target/linux/generic/patches-2.6.39/030-exportfs_tristate.patch [new file with mode: 0644]

diff --git a/target/linux/generic/patches-2.6.39/030-exportfs_tristate.patch b/target/linux/generic/patches-2.6.39/030-exportfs_tristate.patch
new file mode 100644 (file)
index 0000000..b34f487
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/fs/Kconfig
++++ b/fs/Kconfig
+@@ -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