From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 816C4C4167B for ; Thu, 9 Nov 2023 22:50:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229726AbjKIWuK (ORCPT ); Thu, 9 Nov 2023 17:50:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbjKIWuK (ORCPT ); Thu, 9 Nov 2023 17:50:10 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A7A13AA4 for ; Thu, 9 Nov 2023 14:50:08 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E237C433C9; Thu, 9 Nov 2023 22:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1699570207; bh=5s/ddPMnSn0hDI75/bJPW3CPwJErkhGWG9U2IkKZFCM=; h=Date:To:From:Subject:From; b=XmMl6bniRUyy7O6v0GM9tE2/94OEZiqOm0kbZ/eHmSPnfom6FkJqVNpipODwimHw9 zcrJVsHU83dOne4XcPXBBVQihToZuU7V3dWNe4+99g9DjDBi4vXkEKSd00e1nFKVns f39q6hbU4WPoj7lRFOOQlVT4TzeoX//9THEvl/y0= Date: Thu, 09 Nov 2023 14:50:06 -0800 To: mm-commits@vger.kernel.org, willy@infradead.org, tytso@mit.edu, djwong@kernel.org, agruenba@redhat.com, adilger.kernel@dilger.ca, akpm@linux-foundation.org, akpm@linux-foundation.org From: Andrew Morton Subject: + mm-add-folio_fill_tail-and-use-it-in-iomap-fix.patch added to mm-unstable branch Message-Id: <20231109225007.9E237C433C9@smtp.kernel.org> Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: mm-add-folio_fill_tail-and-use-it-in-iomap-fix has been added to the -mm mm-unstable branch. Its filename is mm-add-folio_fill_tail-and-use-it-in-iomap-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-add-folio_fill_tail-and-use-it-in-iomap-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton Subject: mm-add-folio_fill_tail-and-use-it-in-iomap-fix Date: Thu Nov 9 02:42:04 PM PST 2023 fix folio_fill_tail(), per Andreas Gruenbacher Cc: Andreas Dilger Cc: Andreas Gruenbacher Cc: Darrick J. Wong Cc: "Matthew Wilcox (Oracle)" Cc: Theodore Ts'o Signed-off-by: Andrew Morton --- include/linux/highmem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/highmem.h~mm-add-folio_fill_tail-and-use-it-in-iomap-fix +++ a/include/linux/highmem.h @@ -555,7 +555,7 @@ static inline void folio_fill_tail(struc } memcpy(to, from, len); - to = folio_zero_tail(folio, offset, to); + to = folio_zero_tail(folio, offset + len, to + len); kunmap_local(to); } _ Patches currently in -mm which might be from akpm@linux-foundation.org are mm-fix-for-negative-counter-nr_file_hugepages-fix.patch mm-shmem-fix-race-in-shmem_undo_range-w-thp-fix.patch mm-add-folio_zero_tail-and-use-it-in-ext4-fix.patch mm-add-folio_fill_tail-and-use-it-in-iomap-fix.patch kernel-reboot-explicitly-notify-if-halt-occurred-instead-of-power-off-fix.patch