scsi-sg-drop-nth_page-usage-within-sg-entry.patch removed from -mm tree
The quilt patch titled
Subject: scsi: sg: drop nth_page() usage within SG entry
has been removed from the -mm tree. Its filename was
scsi-sg-drop-nth_page-usage-within-sg-entry.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: scsi: sg: drop nth_page() usage within SG entry
Date: Mon, 1 Sep 2025 17:03:52 +0200
It's no longer required to use nth_page() when iterating pages within a single SG entry, so let's drop the nth_page() usage.
Signed-off-by David Hildenbrand <[email protected]>
Reviewed-by Bart Van Assche <[email protected]>
Reviewed-by Lorenzo Stoakes <[email protected]>
Reviewed-by Martin K. Petersen <[email protected]>
Cc Doug Gilbert <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/sg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/scsi/sg.c renamed from drivers/scsi/sg.c~scsi-sg-drop-nth_page-usage-within-sg-entry +1 -2
@@ -1235,8 +1235,7 @@ sg_vma_fault(struct vm_fault *vmf) len = vma->vm_end - sa; len = (len < length) ? len : length;if (offset < len) { -struct page *page =nth_page (rsv_schp->pages[k], - offset >>PAGE_SHIFT ); +struct page *page = rsv_schp->pages[k] + (offset >>PAGE_SHIFT );get_page (page);/* increment page count */ vmf->page = page;return 0 ;/* success */
_
Patches currently in -mm which might be from [email protected] are