Skip to contentSkip to conversation

fs-hugetlbfs-remove-nth_page-usage-within-folio-in-adjust_range_hwpoison.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Sep 21, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: fs: hugetlbfs: remove nth_page() usage within folio in adjust_range_hwpoison()
has been removed from the -mm tree. Its filename was
fs-hugetlbfs-remove-nth_page-usage-within-folio-in-adjust_range_hwpoison.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: David Hildenbrand <[email protected]>
Subject: fs: hugetlbfs: remove nth_page() usage within folio in adjust_range_hwpoison()
Date: Mon, 1 Sep 2025 17:03:36 +0200

The nth_page() is not really required anymore, so let's remove it.

---

 fs/hugetlbfs/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/hugetlbfs/inode.c renamed from fs/hugetlbfs/inode.c~fs-hugetlbfs-remove-nth_page-usage-within-folio-in-adjust_range_hwpoison +1 -1
@@ -217,7 +217,7 @@ static size_t adjust_range_hwpoison(stru
 			break;
 		offset += n;
 		if (offset == PAGE_SIZE) {
-			page = nth_page(page, 1);
+			page++;
 			offset = 0;
 		}
 	}

_

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