Skip to contentSkip to conversation

nilfs2-convert-nilfs_btnode_create_block-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_btnode_create_block to use a folio
has been removed from the -mm tree. Its filename was
nilfs2-convert-nilfs_btnode_create_block-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_btnode_create_block to use a folio
Date: Tue, 14 Nov 2023 17:44:31 +0900

Saves two calls to compound_head().

---

 fs/nilfs2/btnode.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/nilfs2/btnode.c renamed from fs/nilfs2/btnode.c~nilfs2-convert-nilfs_btnode_create_block-to-use-a-folio +2 -2
@@ -64,8 +64,8 @@ nilfs_btnode_create_block(struct address
 	set_buffer_mapped(bh);
 	set_buffer_uptodate(bh);
 
-	unlock_page(bh->b_page);
-	put_page(bh->b_page);
+	folio_unlock(bh->b_folio);
+	folio_put(bh->b_folio);
 	return bh;
 }
 

_

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