Skip to content

Commit f76be61

Browse files
Andi Kleentorvalds
Andi Kleen
authored andcommitted
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 <[email protected]> Cc: Richard Weinberger <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent ec3b688 commit f76be61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

init/Kconfig

+2-1
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,9 @@ config CROSS_MEMORY_ATTACH
272272
See the man page for more details.
273273

274274
config FHANDLE
275-
bool "open by fhandle syscalls"
275+
bool "open by fhandle syscalls" if EXPERT
276276
select EXPORTFS
277+
default y
277278
help
278279
If you say Y here, a user level program will be able to map
279280
file names to handle and then later use the handle for

0 commit comments

Comments
 (0)