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 AC83828CF5F; Sat, 14 Feb 2026 20:33:24 +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=1771101204; cv=none; b=ekEPxBh6KJ1t7wEmOpwF+itpaePYYAMUocQ3e+D/1KA7AgjYqlTRKinVpOLwYUr+iOIQ32/24E7qxrBOUKdyxCzmH4L5V/S1htnZBlEHBW7pTIya1JXb64EZLtVYrT/xZl98nZWtuLcJP4lrTRO4O9OlJbOUKtWYMAuPhqllib8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771101204; c=relaxed/simple; bh=0PXEdYAt/sVuxM6vBLkl5PSVhtNsF+qniTEX01KwCCU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HPK7uxCrvO6jNW7Rfr45jBCuYj6fUjdoH9QksZPUWqaPKJDV49EDb7ZBP9MgRPSTG7D8rct1YxL9fKRTCXKRFHwq4IcWCIwvXIwesADhPaZ2wuztVc0+lUqnBhDIA6d+riOB0dG0Ouh20dQim78pvXSpxdQFUf0Cn8Umo3n3F88= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dlREuZd6; 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="dlREuZd6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD94BC4AF09; Sat, 14 Feb 2026 20:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771101204; bh=0PXEdYAt/sVuxM6vBLkl5PSVhtNsF+qniTEX01KwCCU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dlREuZd6iwFT/KKhXENR0eEBVhJ7tKBSqpwsfcNfOsYbXnCQXVUMNj59nm8uKwkyH O+6dzBuWc1jIfxrYvC6s05up+FDsiCA0+exggAOs2pNdrVYCg5N184zYdAtezgaTYi XKiGDzg4C4nRrfKIzi8YklvO8jIB9uw1xB3znKia0q74rmZwBA7WaO2vZ1UwzWlVJT KC26l3EWHa6Wp2h90QBM51E+uV7HabceuGfHUZ2MvCGPuTWOywcrOoUoxwOBaiqsP2 iAfT5L24BEQiB+FaD3XdYMMrgBFq6erW7oKiNA3euc1NaQtMOj1JZz6jr4PIT0j19f NUjzxzsXI7HGA== 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 , Eric Biggers Subject: [PATCH 1/2] f2fs: use fsverity_verify_blocks() instead of fsverity_verify_page() Date: Sat, 14 Feb 2026 12:33:10 -0800 Message-ID: <20260214203311.9759-2-ebiggers@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260214203311.9759-1-ebiggers@kernel.org> References: <20260214203311.9759-1-ebiggers@kernel.org> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Replace the only remaining caller of fsverity_verify_page() with the equivalent direct call to fsverity_verify_blocks(). No functional change. This will allow fsverity_verify_page() to be removed. Signed-off-by: Eric Biggers --- fs/f2fs/compress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 006a80acd1de..6d688835387d 100644 --- a/fs/f2fs/compress.c +++ b/fs/f2fs/compress.c @@ -1815,11 +1815,12 @@ static void f2fs_verify_cluster(struct work_struct *work) struct page *rpage = dic->rpages[i]; if (!rpage) continue; - if (fsverity_verify_page(dic->vi, rpage)) + if (fsverity_verify_blocks(dic->vi, page_folio(rpage), + PAGE_SIZE, 0)) SetPageUptodate(rpage); else ClearPageUptodate(rpage); unlock_page(rpage); } -- 2.53.0