Skip to contentSkip to conversation

nilfs2-convert-nilfs_gccache_submit_read_data-to-use-a-folio.patch removed from -mm tree

merged mm-nonmm-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: nilfs2: convert nilfs_gccache_submit_read_data to use a folio
has been removed from the -mm tree. Its filename was
nilfs2-convert-nilfs_gccache_submit_read_data-to-use-a-folio.patch

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

------------------------------------------------------
From: "Matthew Wilcox (Oracle)" <[email protected]>
Subject: nilfs2: convert nilfs_gccache_submit_read_data to use a folio
Date: Tue, 14 Nov 2023 17:44:30 +0900

Saves two calls to compound_head().

---

 fs/nilfs2/gcinode.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/nilfs2/gcinode.c renamed from fs/nilfs2/gcinode.c~nilfs2-convert-nilfs_gccache_submit_read_data-to-use-a-folio +2 -2
@@ -98,8 +98,8 @@ int nilfs_gccache_submit_read_data(struc
 	*out_bh = bh;
 
  failed:
-	unlock_page(bh->b_page);
-	put_page(bh->b_page);
+	folio_unlock(bh->b_folio);
+	folio_put(bh->b_folio);
 	if (unlikely(err))
 		brelse(bh);
 	return err;

_

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

buffer-return-bool-from-grow_dev_folio.patch buffer-calculate-block-number-inside-folio_init_buffers.patch buffer-fix-grow_buffers-for-block-size-page_size.patch buffer-cast-block-to-loff_t-before-shifting-it.patch buffer-fix-various-functions-for-block-size-page_size.patch buffer-handle-large-folios-in-__block_write_begin_int.patch buffer-fix-more-functions-for-block-size-page_size.patch