mm-page_io-take-a-const-folio-in-bio_associate_blkg_from_folio.patch removed from -mm tree
The quilt patch titled
Subject: mm/page_io: take a const folio in bio_associate_blkg_from_folio()
has been removed from the -mm tree. Its filename was
mm-page_io-take-a-const-folio-in-bio_associate_blkg_from_folio.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: Tal Zussman <[email protected]>
Subject: mm/page_io: take a const folio in bio_associate_blkg_from_folio()
Date: Tue, 15 Sep 2026 19:20:08 -0400
bio_associate_blkg_from_folio() and its helpers only read from the folio. Constify their folio arguments.
Signed-off-by Tal Zussman <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
Reviewed-by Muchun Song <[email protected]>
Acked-by Shakeel Butt <[email protected]>
Cc Axel Rasmussen <[email protected]>
Cc Baolin Wang <[email protected]>
Cc Baoquan He <[email protected]>
Cc Barry Song <[email protected]>
Cc Chris Li <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Kairui Song <[email protected]>
Cc Kemeng Shi <[email protected]>
Cc Liam R. Howlett <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Mike Rapoport <[email protected]>
Cc Nhat Pham <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Wei Xu <[email protected]>
Cc Yuanchu Xie <[email protected]>
---
mm/page_io.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)
mm/page_io.c renamed from mm/page_io.c~mm-page_io-take-a-const-folio-in-bio_associate_blkg_from_folio +9 -5
@@ -256,12 +256,13 @@ out_unlock: }#if defined(CONFIG_MEMCG ) && defined(CONFIG_BLK_CGROUP ) -static struct cgroup_subsys_state *folio_memcg_blkg_css (struct folio *folio) +static struct cgroup_subsys_state *folio_memcg_blkg_css (const struct folio *folio) {return cgroup_e_css (folio_memcg (folio)->css.cgroup, &io_cgrp_subsys); } -static bool folio_blkg_can_merge (struct folio *folio,struct folio *prev_folio) +static bool folio_blkg_can_merge (const struct folio *folio, +const struct folio *prev_folio) {bool can_merge = true;
@@ -277,7 +278,8 @@ static bool folio_blkg_can_merge(structreturn can_merge; } -static void bio_associate_blkg_from_folio (struct bio *bio,struct folio *folio) +static void bio_associate_blkg_from_folio (struct bio *bio, +const struct folio *folio) {struct cgroup_subsys_state *css;
@@ -294,11 +296,13 @@ static void bio_associate_blkg_from_foli css_put(css); }#else -static bool folio_blkg_can_merge (struct folio *folio,struct folio *prev_folio) +static bool folio_blkg_can_merge (const struct folio *folio, +const struct folio *prev_folio) {return true; } -static void bio_associate_blkg_from_folio (struct bio *bio,struct folio *folio) +static void bio_associate_blkg_from_folio (struct bio *bio, +const struct folio *folio) { }#endif /* CONFIG_MEMCG && CONFIG_BLK_CGROUP */
_
Patches currently in -mm which might be from [email protected] are