The patch titled Subject: mm-filemap-fix-mapping_seek_hole_data-on-thp-32-bit-v2 has been removed from the -mm tree. Its filename was mm-filemap-fix-mapping_seek_hole_data-on-thp-32-bit-v2.patch This patch was dropped because it was folded into mm-filemap-fix-mapping_seek_hole_data-on-thp-32-bit.patch ------------------------------------------------------ From: Hugh Dickins <hughd@xxxxxxxxxx> Subject: mm-filemap-fix-mapping_seek_hole_data-on-thp-32-bit-v2 remove unneeded u64 casts Link: https://lkml.kernel.org/r/alpine.LSU.2.11.2104221347240.1170@eggly.anvils Fixes: 41139aa4c3a3 ("mm/filemap: add mapping_seek_hole_data") Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: Dave Chinner <dchinner@xxxxxxxxxx> Cc: Jan Kara <jack@xxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> Cc: William Kucharski <william.kucharski@xxxxxxxxxx> Cc: Yang Shi <yang.shi@xxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/filemap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/mm/filemap.c~mm-filemap-fix-mapping_seek_hole_data-on-thp-32-bit-v2 +++ a/mm/filemap.c @@ -2677,8 +2677,8 @@ unsigned int seek_page_size(struct xa_st loff_t mapping_seek_hole_data(struct address_space *mapping, loff_t start, loff_t end, int whence) { - XA_STATE(xas, &mapping->i_pages, (u64)start >> PAGE_SHIFT); - pgoff_t max = (u64)(end - 1) >> PAGE_SHIFT; + XA_STATE(xas, &mapping->i_pages, start >> PAGE_SHIFT); + pgoff_t max = (end - 1) >> PAGE_SHIFT; bool seek_data = (whence == SEEK_DATA); struct page *page; @@ -2697,7 +2697,7 @@ loff_t mapping_seek_hole_data(struct add } seek_size = seek_page_size(&xas, page); - pos = round_up((u64)pos + 1, seek_size); + pos = round_up(pos + 1, seek_size); start = page_seek_hole_data(&xas, mapping, page, start, pos, seek_data); if (start < pos) @@ -2705,7 +2705,7 @@ loff_t mapping_seek_hole_data(struct add if (start >= end) break; if (seek_size > PAGE_SIZE) - xas_set(&xas, (u64)pos >> PAGE_SHIFT); + xas_set(&xas, pos >> PAGE_SHIFT); if (!xa_is_value(page)) put_page(page); } _ Patches currently in -mm which might be from hughd@xxxxxxxxxx are mm-filemap-fix-find_lock_entries-hang-on-32-bit-thp.patch mm-filemap-fix-mapping_seek_hole_data-on-thp-32-bit.patch mm-restore-node-stat-checking-in-proc-sys-vm-stat_refresh.patch mm-no-more-einval-from-proc-sys-vm-stat_refresh.patch mm-proc-sys-vm-stat_refresh-skip-checking-known-negative-stats.patch mm-proc-sys-vm-stat_refresh-stop-checking-monotonic-numa-stats.patch