Commit ea0985ad7914d8226a81d0f1374ece7832e75e95
Committed by
Linus Torvalds
1 parent
a77b645609
Exists in
master
and in
4 other branches
menuconfig: transform Network Filesystems menu
Turn Network File Systems into a menuconfig so that it can be disabled at once. (Note: I added a "default y". If you do not like that, speak up.) Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Steven French <sfrench@us.ibm.com> Cc: David Howells <dhowells@redhat.com> Cc: Eric Van Hensbergen <ericvh@hera.kernel.org> Cc: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 14 additions and 2 deletions Side-by-side Diff
fs/Kconfig
... | ... | @@ -1547,9 +1547,21 @@ |
1547 | 1547 | |
1548 | 1548 | endmenu |
1549 | 1549 | |
1550 | -menu "Network File Systems" | |
1550 | +menuconfig NETWORK_FILESYSTEMS | |
1551 | + bool "Network File Systems" | |
1552 | + default y | |
1551 | 1553 | depends on NET |
1554 | + ---help--- | |
1555 | + Say Y here to get to see options for network filesystems and | |
1556 | + filesystem-related networking code, such as NFS daemon and | |
1557 | + RPCSEC security modules. | |
1558 | + This option alone does not add any kernel code. | |
1552 | 1559 | |
1560 | + If you say N, all options in this submenu will be skipped and | |
1561 | + disabled; if unsure, say Y here. | |
1562 | + | |
1563 | +if NETWORK_FILESYSTEMS | |
1564 | + | |
1553 | 1565 | config NFS_FS |
1554 | 1566 | tristate "NFS file system support" |
1555 | 1567 | depends on INET |
... | ... | @@ -2094,7 +2106,7 @@ |
2094 | 2106 | |
2095 | 2107 | If unsure, say N. |
2096 | 2108 | |
2097 | -endmenu | |
2109 | +endif # NETWORK_FILESYSTEMS | |
2098 | 2110 | |
2099 | 2111 | if BLOCK |
2100 | 2112 | menu "Partition Types" |