Skip to contentSkip to conversation

ocfs2-remove-reference-to-bh-b_page.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Mar 17, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled

     Subject: ocfs2: remove reference to bh->b_page

has been removed from the -mm tree. Its filename was
ocfs2-remove-reference-to-bh-b_page.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: ocfs2: remove reference to bh->b_page
Date: Thu, 13 Feb 2025 21:45:31 +0000

Buffer heads are attached to folios, not to pages. Also flush_dcache_page() is now deprecated in favour of flush_dcache_folio().

---

 fs/ocfs2/quota_global.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/quota_global.c renamed from fs/ocfs2/quota_global.c~ocfs2-remove-reference-to-bh-b_page +1 -1
@@ -273,7 +273,7 @@ ssize_t ocfs2_quota_write(struct super_b
 	if (new)
 		memset(bh->b_data, 0, sb->s_blocksize);
 	memcpy(bh->b_data + offset, data, len);
-	flush_dcache_page(bh->b_page);
+	flush_dcache_folio(bh->b_folio);
 	set_buffer_uptodate(bh);
 	unlock_buffer(bh);
 	ocfs2_set_buffer_uptodate(INODE_CACHE(gqinode), bh);

_

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

dax-remove-access-to-page-index.patch dax-use-folios-more-widely-within-dax.patch hugetlb-convert-hugetlb_vma_maps_page-to-hugetlb_vma_maps_pfn.patch hugetlb-convert-adjust_range_hwpoison-to-take-a-folio.patch mm-convert-lru_add_page_tail-to-lru_add_split_folio.patch mm-separate-folio_split_memcg_refs-from-split_page_memcg.patch mm-simplify-split_page_memcg.patch mm-remove-references-to-folio-in-split_page_memcg.patch mm-simplify-folio_memcg_charged.patch mm-remove-references-to-folio-in-__memcg_kmem_uncharge_page.patch