diff options
author | Jason Andryuk <jandryuk@gmail.com> | 2023-05-04 15:47:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-04 21:46:57 +0100 |
commit | d7385ba137711ea71527a605cac162610a621de8 (patch) | |
tree | ded9fc1d23237e05d82c9f337dca4a5eb7520acd /fs/9p/Kconfig | |
parent | 042334a8d424a1917e916e611a8dda7f8caf1491 (diff) |
9p: Remove INET dependency
9pfs can run over assorted transports, so it doesn't have an INET
dependency. Drop it and remove the includes of linux/inet.h.
NET_9P_FD/trans_fd.o builds without INET or UNIX and is usable over
plain file descriptors. However, tcp and unix functionality is still
built and would generate runtime failures if used. Add imply INET and
UNIX to NET_9P_FD, so functionality is enabled by default but can still
be explicitly disabled.
This allows configuring 9pfs over Xen with INET and UNIX disabled.
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/9p/Kconfig')
-rw-r--r-- | fs/9p/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/Kconfig b/fs/9p/Kconfig index d7bc93447c85..0c63df574ee7 100644 --- a/fs/9p/Kconfig +++ b/fs/9p/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config 9P_FS tristate "Plan 9 Resource Sharing Support (9P2000)" - depends on INET && NET_9P + depends on NET_9P select NETFS_SUPPORT help If you say Y here, you will get experimental support for |