]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: hugetlbfs: remove nth_page() usage within folio in adjust_range_hwpoison()
authorDavid Hildenbrand <david@redhat.com>
Mon, 1 Sep 2025 15:03:36 +0000 (17:03 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 21 Sep 2025 21:22:04 +0000 (14:22 -0700)
commit06d42cf49eb740da7dbc4c5fc138a0fdce67417c
tree3e7a1bcfa57ede9992cd07a856a0597981633834
parentcb77aa60a0a45db626b7b9db864be38a150a06f7
fs: hugetlbfs: remove nth_page() usage within folio in adjust_range_hwpoison()

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

Link: https://lkml.kernel.org/r/20250901150359.867252-16-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/hugetlbfs/inode.c