aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2016-04-01 17:31:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-04-01 18:03:37 -0400
commitf76be61755c52f4e827755901f6317cc1d007b51 (patch)
tree8f5c5623350db6984f44f3a4f930bfdb3296f5a9
parentec3b6882509188602dfaadf2814a9cca062f2786 (diff)
Make CONFIG_FHANDLE default y
Newer Fedora and OpenSUSE didn't boot with my standard configuration. It took me some time to figure out why, in fact I had to write a script to try different config options systematically. The problem is that something (systemd) in dracut depends on CONFIG_FHANDLE, which adds open by file handle syscalls. While it is set in defconfigs it is very easy to miss when updating older configs because it is not default y. Make it default y and also depend on EXPERT, as dracut use is likely widespread. Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Richard Weinberger <richard.weinberger@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--init/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index e0d26162432e..0dfd09d54c65 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -272,8 +272,9 @@ config CROSS_MEMORY_ATTACH
272 See the man page for more details. 272 See the man page for more details.
273 273
274config FHANDLE 274config FHANDLE
275 bool "open by fhandle syscalls" 275 bool "open by fhandle syscalls" if EXPERT
276 select EXPORTFS 276 select EXPORTFS
277 default y
277 help 278 help
278 If you say Y here, a user level program will be able to map 279 If you say Y here, a user level program will be able to map
279 file names to handle and then later use the handle for 280 file names to handle and then later use the handle for