Skip to contentSkip to conversation

mm-remove-stray-references-to-struct-pagevec.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Mar 24

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: remove stray references to struct pagevec
has been removed from the -mm tree. Its filename was
mm-remove-stray-references-to-struct-pagevec.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Tal Zussman <[email protected]>
Subject: mm: remove stray references to struct pagevec
Date: Wed, 25 Feb 2026 18:44:25 -0500

Patch series "mm: Remove stray references to pagevec", v2.

struct pagevec was removed in commit 1e0877d58b1e ("mm: remove struct pagevec"). Remove any stray references to it and rename relevant files and macros accordingly.

While at it, remove unnecessary #includes of pagevec.h (now folio_batch.h) in .c files. There are probably more of these that could be removed in .h files, but those are more complex to verify.

This patch (of 4):

struct pagevec was removed in commit 1e0877d58b1e ("mm: remove struct pagevec"). Remove remaining forward declarations and change __folio_batch_release()'s declaration to match its definition.

---

 fs/afs/internal.h       |    1 -
 fs/f2fs/f2fs.h          |    2 --
 include/linux/pagevec.h |    2 +-
 include/linux/swap.h    |    2 --
 4 files changed, 1 insertion(+), 6 deletions(-)
fs/afs/internal.h renamed from fs/afs/internal.h~mm-remove-stray-references-to-struct-pagevec +0 -1
@@ -31,7 +31,6 @@
 
 #define AFS_CELL_MAX_ADDRS 15
 
-struct pagevec;
 struct afs_call;
 struct afs_vnode;
 struct afs_server_probe;
fs/f2fs/f2fs.h renamed from fs/f2fs/f2fs.h~mm-remove-stray-references-to-struct-pagevec +0 -2
@@ -28,8 +28,6 @@
 #include <linux/fscrypt.h>
 #include <linux/fsverity.h>
 
-struct pagevec;
-
 #ifdef CONFIG_F2FS_CHECK_FS
 #define f2fs_bug_on(sbi, condition)	BUG_ON(condition)
 #else
include/linux/pagevec.h renamed from include/linux/pagevec.h~mm-remove-stray-references-to-struct-pagevec +1 -1
@@ -93,7 +93,7 @@ static inline struct folio *folio_batch_
 	return fbatch->folios[fbatch->i++];
 }
 
-void __folio_batch_release(struct folio_batch *pvec);
+void __folio_batch_release(struct folio_batch *fbatch);
 
 static inline void folio_batch_release(struct folio_batch *fbatch)
 {
include/linux/swap.h renamed from include/linux/swap.h~mm-remove-stray-references-to-struct-pagevec +0 -2
@@ -20,8 +20,6 @@ struct notifier_block;
 
 struct bio;
 
-struct pagevec;
-
 #define SWAP_FLAG_PREFER	0x8000	/* set if swap priority specified */
 #define SWAP_FLAG_PRIO_MASK	0x7fff
 #define SWAP_FLAG_DISCARD	0x10000 /* enable discard for swap */

_

Patches currently in -mm which might be from [email protected] are