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/vfs_addr.c | |
parent | 042334a8d424a1917e916e611a8dda7f8caf1491 (diff) | |
download | lwn-d7385ba137711ea71527a605cac162610a621de8.tar.gz lwn-d7385ba137711ea71527a605cac162610a621de8.zip |
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/vfs_addr.c')
-rw-r--r-- | fs/9p/vfs_addr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/9p/vfs_addr.c b/fs/9p/vfs_addr.c index 6f46d7e4c750..425956eb9fde 100644 --- a/fs/9p/vfs_addr.c +++ b/fs/9p/vfs_addr.c @@ -12,7 +12,6 @@ #include <linux/file.h> #include <linux/stat.h> #include <linux/string.h> -#include <linux/inet.h> #include <linux/pagemap.h> #include <linux/sched.h> #include <linux/swap.h> |