summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-05-25 20:57:13 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-05-25 20:57:13 +0000
commit6f7ae75ffadd5d0ed06fce73f27b44bad81dfd14 (patch)
tree715861faeb5264a23003e1d1762efe9e16793a9b /target/linux
parent6769216a6490f7422294d3b5ae679403156ffbb5 (diff)
downloadmtk-20170518-6f7ae75ffadd5d0ed06fce73f27b44bad81dfd14.zip
mtk-20170518-6f7ae75ffadd5d0ed06fce73f27b44bad81dfd14.tar.gz
mtk-20170518-6f7ae75ffadd5d0ed06fce73f27b44bad81dfd14.tar.bz2
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. SVN-Revision: 27011
Diffstat (limited to 'target/linux')
-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 0000000..b34f487
--- /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