From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AD992D0C95; Wed, 18 Feb 2026 01:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771376846; cv=none; b=kez75gbCx1F3V0jd5eJzGL2ci7QGUE3+XtYDwhogb6r8cudL45gT8Pn7+/o7B8zrhfNZHWjCyEcH8Td0Qf4DxwRYWLYXZFmCnuGDlHxAG56loKbuB9z7aDWyS1r7BWudFw4LRWzi43tI2a3QqznpKxnW/127i34G0lURC8iWLag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771376846; c=relaxed/simple; bh=+CVW+jqAGcNQgZ9KfyjdE5n43SFWkJierbzGyPZLvRQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=q0n8kC54UxccEpWZr+glEMrOko/dOY8hYPhbdYsTFDlCaHsne4pAZTstR+8jYdcnlOD+n5DYaz/2HFFWtpUOJB0sqPHbDyioWXE34vTmIEg/GwM+vmDp5Gb15V3yyDfZCZjSkc7HjNiMQiUXa/lIGwn2hi8Bp4FhiFmCfG2SUvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MDBzI+ET; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MDBzI+ET" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37B83C19424; Wed, 18 Feb 2026 01:07:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771376846; bh=+CVW+jqAGcNQgZ9KfyjdE5n43SFWkJierbzGyPZLvRQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MDBzI+ETOPtPNXj4q8nVG6tfq//g8NUv+bPnpFcwarAdu5fdVH4+tRCkC3FrOVEBX tNLKXhHKJZaUMRoyPyX5CuBmsl55h4dqLD19pKu+1Bpuwji/AoLtl4SsM9ZGDha4SO xtF3++c2KoYuZcszkDX+RINQxJ+udkvo8um77T4CO0iTQTXJ2QHqn65FQ1BhcDUO+q piHvt8XvyHIytzqAsU2OcfsJqIDlddtwz1bahMDuqbOBhjKisyjWbYV4TVUtYiiqsQ 21O7cy4HrDLlVUJsngMtdJ5eyhL6gpH+1LUOtWYSb+umO9Ps5ifgvZsN/HCfSupb+H yyQPZ5CVZwb6Q== From: Eric Biggers To: fsverity@lists.linux.dev Cc: linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, Linus Torvalds , Jaegeuk Kim , Chao Yu , Matthew Wilcox , Eric Biggers Subject: [PATCH v4 1/3] f2fs: remove unnecessary ClearPageUptodate in f2fs_verify_cluster() Date: Tue, 17 Feb 2026 17:06:28 -0800 Message-ID: <20260218010630.7407-2-ebiggers@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260218010630.7407-1-ebiggers@kernel.org> References: <20260218010630.7407-1-ebiggers@kernel.org> Precedence: bulk X-Mailing-List: fsverity@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Remove the unnecessary clearing of PG_uptodate. It's guaranteed to already be clear. Suggested-by: Matthew Wilcox Signed-off-by: Eric Biggers --- fs/f2fs/compress.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 006a80acd1de..355762d11e25 100644 --- a/fs/f2fs/compress.c +++ b/fs/f2fs/compress.c @@ -1817,12 +1817,10 @@ static void f2fs_verify_cluster(struct work_struct *work) if (!rpage) continue; if (fsverity_verify_page(dic->vi, rpage)) SetPageUptodate(rpage); - else - ClearPageUptodate(rpage); unlock_page(rpage); } f2fs_put_dic(dic, true); } -- 2.53.0 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0816BE9A047 for ; Wed, 18 Feb 2026 01:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:MIME-Version:References:In-Reply-To: Message-ID:Date:To:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kuiC2FKUBiHLSTjwHa8WBDxNAxoyOo4tohgICrf7zfc=; b=VhPkt3T4G67ZQ4ccenmhqZIbtl uUBiEyOjdYXkffl3/8eMuA427CqmM3EGnpkvosn5vrdM2Ao8Z6RzNVZgWLg1CJCcdl6Y49MldSLNp KmGZTlYuJPS6kei25G5BJHto2aMWFL3G51GlToEm9ouYj1pCoUq/KOEF4yDjH8upb7xU=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vsW2U-0000ql-MH; Wed, 18 Feb 2026 01:07:38 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vsW2T-0000qe-8C for linux-f2fs-devel@lists.sourceforge.net; Wed, 18 Feb 2026 01:07:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ulZTndBaMOlQkLCLEeL+9GYxdlhoTC4o7T4/XMD6RPE=; b=idAwVrU3C33x+hJqrFrOaeB7Vv v906c1BAwaEnyE0dUY+lcQNp8C8K6CMZtBbqxxKA+LDR6XxghDHvqLR8e1MAM0aJmHDwAc6ddobW8 q3k8hzFKDGRAxyFrnxgIgp6LbJVqirybeY3vkXgSQPn4UgSDzM7hCP6gqz1hG+OyzAqc=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ulZTndBaMOlQkLCLEeL+9GYxdlhoTC4o7T4/XMD6RPE=; b=kF9bDbeDieVydVEPSKoOcZfidU rm9sNGkyi06drafXZe9A3A/B/k+y8f17aiwd0iRW4RzNoJDculEMpDNOcSBPnpii4OS8jH/QijXsA ArCADRpVGIzSfk3SIRe2qyv9PnNnix+T5q/B2tP3n3cO9mhlqFaLCko0BnMISs1VrRAg=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1vsW2S-0003lj-Tc for linux-f2fs-devel@lists.sourceforge.net; Wed, 18 Feb 2026 01:07:37 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id A01D5444C6; Wed, 18 Feb 2026 01:07:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37B83C19424; Wed, 18 Feb 2026 01:07:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771376846; bh=+CVW+jqAGcNQgZ9KfyjdE5n43SFWkJierbzGyPZLvRQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MDBzI+ETOPtPNXj4q8nVG6tfq//g8NUv+bPnpFcwarAdu5fdVH4+tRCkC3FrOVEBX tNLKXhHKJZaUMRoyPyX5CuBmsl55h4dqLD19pKu+1Bpuwji/AoLtl4SsM9ZGDha4SO xtF3++c2KoYuZcszkDX+RINQxJ+udkvo8um77T4CO0iTQTXJ2QHqn65FQ1BhcDUO+q piHvt8XvyHIytzqAsU2OcfsJqIDlddtwz1bahMDuqbOBhjKisyjWbYV4TVUtYiiqsQ 21O7cy4HrDLlVUJsngMtdJ5eyhL6gpH+1LUOtWYSb+umO9Ps5ifgvZsN/HCfSupb+H yyQPZ5CVZwb6Q== To: fsverity@lists.linux.dev Date: Tue, 17 Feb 2026 17:06:28 -0800 Message-ID: <20260218010630.7407-2-ebiggers@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260218010630.7407-1-ebiggers@kernel.org> References: <20260218010630.7407-1-ebiggers@kernel.org> MIME-Version: 1.0 X-Headers-End: 1vsW2S-0003lj-Tc Subject: [f2fs-dev] [PATCH v4 1/3] f2fs: remove unnecessary ClearPageUptodate in f2fs_verify_cluster() X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eric Biggers via Linux-f2fs-devel Reply-To: Eric Biggers Cc: Matthew Wilcox , linux-f2fs-devel@lists.sourceforge.net, Eric Biggers , linux-fsdevel@vger.kernel.org, Jaegeuk Kim , Linus Torvalds Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Remove the unnecessary clearing of PG_uptodate. It's guaranteed to already be clear. Suggested-by: Matthew Wilcox Signed-off-by: Eric Biggers --- fs/f2fs/compress.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 006a80acd1de..355762d11e25 100644 --- a/fs/f2fs/compress.c +++ b/fs/f2fs/compress.c @@ -1817,12 +1817,10 @@ static void f2fs_verify_cluster(struct work_struct *work) if (!rpage) continue; if (fsverity_verify_page(dic->vi, rpage)) SetPageUptodate(rpage); - else - ClearPageUptodate(rpage); unlock_page(rpage); } f2fs_put_dic(dic, true); } -- 2.53.0 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel