From 487f6c57f2afc0f50cf20a985ef240504c6c16c9 Mon Sep 17 00:00:00 2001 From: "Matthew Wilcox (Oracle)" Date: Thu, 13 Aug 2026 14:47:44 -0400 Subject: sunrpc: Remove pagemap.h No file in net/sunrpc needs pagemap.h, nor depends on it bringing in any of its dependencies. After this patch, no file in net/sunrpc depends on pagemap.h, even transitively. Signed-off-by: Matthew Wilcox (Oracle) --- net/sunrpc/auth_gss/auth_gss.c | 1 - net/sunrpc/auth_gss/gss_krb5_crypto.c | 1 - net/sunrpc/auth_gss/gss_krb5_wrap.c | 1 - net/sunrpc/auth_gss/svcauth_gss.c | 1 - net/sunrpc/cache.c | 1 - net/sunrpc/rpc_pipe.c | 1 - net/sunrpc/socklib.c | 1 - net/sunrpc/xdr.c | 1 - net/sunrpc/xprtsock.c | 1 - 9 files changed, 9 deletions(-) (limited to 'net') diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index 8ddc65e894da..eb4a32382a1b 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff --git a/net/sunrpc/auth_gss/gss_krb5_crypto.c b/net/sunrpc/auth_gss/gss_krb5_crypto.c index cf461ebcdde5..70e846aee671 100644 --- a/net/sunrpc/auth_gss/gss_krb5_crypto.c +++ b/net/sunrpc/auth_gss/gss_krb5_crypto.c @@ -39,7 +39,6 @@ #include #include #include -#include #include #include diff --git a/net/sunrpc/auth_gss/gss_krb5_wrap.c b/net/sunrpc/auth_gss/gss_krb5_wrap.c index d3f61c4b5a13..789901e0f83a 100644 --- a/net/sunrpc/auth_gss/gss_krb5_wrap.c +++ b/net/sunrpc/auth_gss/gss_krb5_wrap.c @@ -31,7 +31,6 @@ #include #include #include -#include #include "gss_krb5_internal.h" diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c index 967e9d53080d..44f4b093193d 100644 --- a/net/sunrpc/auth_gss/svcauth_gss.c +++ b/net/sunrpc/auth_gss/svcauth_gss.c @@ -41,7 +41,6 @@ #include #include #include -#include #include #include diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 1bc04109d213..825e47833e09 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 9d349cfbc483..b4054fad2e03 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff --git a/net/sunrpc/socklib.c b/net/sunrpc/socklib.c index d8d8842c7de5..83ec61c45365 100644 --- a/net/sunrpc/socklib.c +++ b/net/sunrpc/socklib.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index cb2ef428651f..9043db47e2cd 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 359407aae03e..1205723ff4ee 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include -- cgit v1.2.3 From aedeab60c2cc3f7c3997dcd4d98f3ee95bc7b345 Mon Sep 17 00:00:00 2001 From: "Matthew Wilcox (Oracle)" Date: Thu, 13 Aug 2026 16:53:14 -0400 Subject: net: Remove includes of pagemap.h Two ceph files call __page_cache_alloc(), so need to include pagemap.h. I'm not sure that they should be allocating memory using this interface, but that's a question for later. net/ is largely free of indirect dependencies on pagemap.h at this point. Signed-off-by: Matthew Wilcox (Oracle) --- include/linux/ceph/libceph.h | 1 - net/ceph/osd_client.c | 1 - net/ceph/pagevec.c | 1 + net/core/datagram.c | 1 - net/rds/rdma.c | 1 - 5 files changed, 1 insertion(+), 4 deletions(-) (limited to 'net') diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 63e0e2aa1ce9..4de957db6500 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index 28d76c2f6b3e..86b681a56e20 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #ifdef CONFIG_BLOCK diff --git a/net/ceph/pagevec.c b/net/ceph/pagevec.c index 858359873c4d..7e54c0c92b4f 100644 --- a/net/ceph/pagevec.c +++ b/net/ceph/pagevec.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include diff --git a/net/core/datagram.c b/net/core/datagram.c index 173b5d97bd40..b9b50ce8ea7c 100644 --- a/net/core/datagram.c +++ b/net/core/datagram.c @@ -49,7 +49,6 @@ #include #include #include -#include #include #include #include diff --git a/net/rds/rdma.c b/net/rds/rdma.c index 078090d292fa..81cfbb2b2e87 100644 --- a/net/rds/rdma.c +++ b/net/rds/rdma.c @@ -30,7 +30,6 @@ * SOFTWARE. * */ -#include #include #include #include /* for DMA_*_DEVICE */ -- cgit v1.2.3