diff options
| author | Tal Zussman <tz2294@columbia.edu> | 2026-02-25 18:44:26 -0500 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-04-05 13:53:06 -0700 |
| commit | ab5193e919bbc2577bf404983b2c0ee3c6d3ef83 (patch) | |
| tree | 2db1e5158fbe3edf12bee5625144bbc7a0003a60 /fs/afs | |
| parent | cbf56f9981014ee48ae9b9e2254f31d1642b8f8f (diff) | |
| download | lwn-ab5193e919bbc2577bf404983b2c0ee3c6d3ef83.tar.gz lwn-ab5193e919bbc2577bf404983b2c0ee3c6d3ef83.zip | |
fs: remove unncessary pagevec.h includes
Remove unused pagevec.h includes from .c files. These were found with
the following command:
grep -rl '#include.*pagevec\.h' --include='*.c' | while read f; do
grep -qE 'PAGEVEC_SIZE|folio_batch' "$f" || echo "$f"
done
There are probably more removal candidates in .h files, but those are
more complex to analyze.
Link: https://lkml.kernel.org/r/20260225-pagevec_cleanup-v2-2-716868cc2d11@columbia.edu
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Acked-by: Zi Yan <ziy@nvidia.com>
Acked-by: Chris Li <chrisl@kernel.org>
Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Hildenbrand (Arm) <david@kernel.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/afs')
| -rw-r--r-- | fs/afs/write.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/write.c b/fs/afs/write.c index 93ad86ff3345..fcfed9d24e0a 100644 --- a/fs/afs/write.c +++ b/fs/afs/write.c @@ -10,7 +10,6 @@ #include <linux/fs.h> #include <linux/pagemap.h> #include <linux/writeback.h> -#include <linux/pagevec.h> #include <linux/netfs.h> #include <trace/events/netfs.h> #include "internal.h" |
