Skip to content

Commit

Permalink
Make CONFIG_FHANDLE default y
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and torvalds committed Apr 1, 2016
1 parent ec3b688 commit f76be61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,9 @@ config CROSS_MEMORY_ATTACH
See the man page for more details.

config FHANDLE
bool "open by fhandle syscalls"
bool "open by fhandle syscalls" if EXPERT
select EXPORTFS
default y
help
If you say Y here, a user level program will be able to map
file names to handle and then later use the handle for
Expand Down

0 comments on commit f76be61

Please sign in to comment.