All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-stable] mpage-convert-map_buffer_to_folio-to-folio_create_empty_buffers.patch removed from -mm tree
@ 2023-10-25 23:47 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-10-25 23:47 UTC (permalink / raw)
  To: mm-commits, p.raghav, konishi.ryusuke, agruenba, willy, akpm


The quilt patch titled
     Subject: mpage: convert map_buffer_to_folio() to folio_create_empty_buffers()
has been removed from the -mm tree.  Its filename was
     mpage-convert-map_buffer_to_folio-to-folio_create_empty_buffers.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: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Subject: mpage: convert map_buffer_to_folio() to folio_create_empty_buffers()
Date: Mon, 16 Oct 2023 21:10:50 +0100

Saves a folio->page->folio conversion.

Link: https://lkml.kernel.org/r/20231016201114.1928083-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/mpage.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/fs/mpage.c~mpage-convert-map_buffer_to_folio-to-folio_create_empty_buffers
+++ a/fs/mpage.c
@@ -119,8 +119,7 @@ static void map_buffer_to_folio(struct f
 			folio_mark_uptodate(folio);
 			return;
 		}
-		create_empty_buffers(&folio->page, i_blocksize(inode), 0);
-		head = folio_buffers(folio);
+		head = folio_create_empty_buffers(folio, i_blocksize(inode), 0);
 	}
 
 	page_bh = head;
_

Patches currently in -mm which might be from willy@infradead.org are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-25 23:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-25 23:47 [merged mm-stable] mpage-convert-map_buffer_to_folio-to-folio_create_empty_buffers.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.