Skip to contentSkip to conversation

mm-filemap-increase-usage-of-folio_next_index-helper.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Dec 11, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/filemap: increase usage of folio_next_index() helper
has been removed from the -mm tree. Its filename was
mm-filemap-increase-usage-of-folio_next_index-helper.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: Minjie Du <[email protected]>
Subject: mm/filemap: increase usage of folio_next_index() helper
Date: Tue, 7 Nov 2023 10:46:34 +0800

Simplify code pattern of 'folio->index + folio_nr_pages(folio)' by using the existing helper folio_next_index() in filemap_get_folios_contig().

---

 mm/filemap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/filemap.c renamed from mm/filemap.c~mm-filemap-increase-usage-of-folio_next_index-helper +1 -1
@@ -2173,7 +2173,7 @@ update_start:
 
 	if (nr) {
 		folio = fbatch->folios[nr - 1];
-		*start = folio->index + folio_nr_pages(folio);
+		*start = folio_next_index(folio);
 	}
 out:
 	rcu_read_unlock();

_

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