]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: remove unncessary pagevec.h includes
authorTal Zussman <tz2294@columbia.edu>
Wed, 25 Feb 2026 23:44:26 +0000 (18:44 -0500)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 5 Apr 2026 20:53:06 +0000 (13:53 -0700)
commitab5193e919bbc2577bf404983b2c0ee3c6d3ef83
tree2db1e5158fbe3edf12bee5625144bbc7a0003a60
parentcbf56f9981014ee48ae9b9e2254f31d1642b8f8f
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>
13 files changed:
fs/afs/write.c
fs/dax.c
fs/ext4/file.c
fs/ext4/page-io.c
fs/ext4/readpage.c
fs/f2fs/file.c
fs/mpage.c
fs/netfs/buffered_write.c
fs/nfs/blocklayout/blocklayout.c
fs/nfs/dir.c
fs/ocfs2/refcounttree.c
fs/smb/client/connect.c
fs/smb/client/file.c