aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2011-05-25 20:57:13 +0000
committerHauke Mehrtens <hauke@openwrt.org>2011-05-25 20:57:13 +0000
commitc64a3e912a2da2925159d9c9ddfdf005d37e146e (patch)
treef82aa501bdf28df3d215c07392251f7e1ec63505
parent7967debb9c75a5c434f23d703bca31c48c2a1f69 (diff)
downloadupstream-c64a3e912a2da2925159d9c9ddfdf005d37e146e.tar.gz
upstream-c64a3e912a2da2925159d9c9ddfdf005d37e146e.tar.bz2
upstream-c64a3e912a2da2925159d9c9ddfdf005d37e146e.zip
kernel: exportfs: reallow building as a module
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27011 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic/patches-2.6.39/030-exportfs_tristate.patch11
1 files changed, 11 insertions, 0 deletions
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
index 0000000000..b34f487be0
--- /dev/null
+++ b/target/linux/generic/patches-2.6.39/030-exportfs_tristate.patch
@@ -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