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 CE7B5EF5855 for ; Sat, 14 Feb 2026 21:19:25 +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=UbfU09QFWh3gACBhZS5PWmSHSrSBrXj4K0t5IvKVtq8=; b=aohNR3tZ8xADW/oNz7cfJZ/AfK 169bGEjDAo0V9pLP9DXIlYaqEr72nr09sKD/YOKgQrHtf50ScTiI/dXqVJnwoFKev8LVZQmh+7gjJ YPwRgs8DYsWee9yu1jsfijZpPlRuoXht7X1BxXQm+ze5EJuGYt4TCC4VLin+875S4jmY=; Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1vrN2y-0002ag-N8; Sat, 14 Feb 2026 21:19:25 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1vrN2x-0002aa-84 for linux-f2fs-devel@lists.sourceforge.net; Sat, 14 Feb 2026 21:19:24 +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=tkUA8ktbkYiWa/x6JFodpj4cUsQEuxbGLvrVpCV4lm0=; b=ljpeedBVM4fknwwjkl8eGm1Coq pB2DcJc/zzCqjUSdoN44WDGv8i3tPN1iXb6qZ2p67UkUzytYpe8aXiaAL5WKi3ND//rB/rbBvMT/d +8o7kTgceT88jUEIekXt+sDXLH3G42DLHVMEPQmsVx38lBOGEP52G098K2lKjNsAC3ak=; 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=tkUA8ktbkYiWa/x6JFodpj4cUsQEuxbGLvrVpCV4lm0=; b=SXxfz2vjhCkF5zCscMfR/mdtXr 6jX0dkCfCkQla1WRXlCXiLTnpWGKCL+QngiOF2NhAHNfNGmOOAm3uUduOnxl33gx/EPsF0HcQlphx imckYoft3oJRdlgWDUocfucQwBA5V6/Ki7m/p8rjT+HvcNxjwJGVoHfwBCUTde5TK9Pg=; 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 1vrN2x-0004Nr-GP for linux-f2fs-devel@lists.sourceforge.net; Sat, 14 Feb 2026 21:19:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 3CB46444FA; Sat, 14 Feb 2026 21:19:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73762C2BC86; Sat, 14 Feb 2026 21:19:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771103958; bh=SqjZE7OWr1LYIbtS0mF/zGZQM1kfgP5bCqVDUaHH/3k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y7dk/4hJDfz2a2DFP/ky+FC/zr1VGCMAcnzqPBKGoHK1uGXUuyHtT3QiP5nwNBSmT Cv0ctbmQfrbgi1In9FNHi+2S9HZWd3sDRnFYzMqrpzKqwOMQO3S+uU9rwc+7Q/O+n1 ctMhmb0tD5Rsl0tJFukHYF62dyNfD2JjesmgbHITif6yioJUhDBxW4hfc78iXLcJvH TQpLow5iWffga9QwfqATTH8GwvltHHI7PR3HgWKHyAqVTOyUUC6qw2fOkOVG9CbZdf yl2MWWU7jeRpwB9fF+jBgG0O/unf0nyDEe8fntuceIjxGLXuAc1JdFDNiFk+FFANSs UFqpUipYswa0g== To: fsverity@lists.linux.dev Date: Sat, 14 Feb 2026 13:18:30 -0800 Message-ID: <20260214211830.15437-3-ebiggers@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260214211830.15437-1-ebiggers@kernel.org> References: <20260214211830.15437-1-ebiggers@kernel.org> MIME-Version: 1.0 X-Headers-End: 1vrN2x-0004Nr-GP Subject: [f2fs-dev] [PATCH v2 2/2] fsverity: remove fsverity_verify_page() 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: 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 Now that fsverity_verify_page() has no callers, remove it. Suggested-by: Linus Torvalds Signed-off-by: Eric Biggers --- fs/verity/verify.c | 4 ++-- include/linux/fsverity.h | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/fs/verity/verify.c b/fs/verity/verify.c index 31797f9b24d0..3e38749fbc82 100644 --- a/fs/verity/verify.c +++ b/fs/verity/verify.c @@ -431,12 +431,12 @@ EXPORT_SYMBOL_GPL(fsverity_verify_blocks); * verification, then bio->bi_status is set to an error status. * * This is a helper function for use by the ->readahead() method of filesystems * that issue bios to read data directly into the page cache. Filesystems that * populate the page cache without issuing bios (e.g. non block-based - * filesystems) must instead call fsverity_verify_page() directly on each page. - * All filesystems must also call fsverity_verify_page() on holes. + * filesystems) must instead call fsverity_verify_blocks() directly. All + * filesystems must also call fsverity_verify_blocks() on holes. */ void fsverity_verify_bio(struct fsverity_info *vi, struct bio *bio) { struct fsverity_verification_context ctx; struct folio_iter fi; diff --git a/include/linux/fsverity.h b/include/linux/fsverity.h index fed91023bea9..6de3ddf0b148 100644 --- a/include/linux/fsverity.h +++ b/include/linux/fsverity.h @@ -280,16 +280,10 @@ static inline bool fsverity_verify_folio(struct fsverity_info *vi, struct folio *folio) { return fsverity_verify_blocks(vi, folio, folio_size(folio), 0); } -static inline bool fsverity_verify_page(struct fsverity_info *vi, - struct page *page) -{ - return fsverity_verify_blocks(vi, page_folio(page), PAGE_SIZE, 0); -} - /** * fsverity_file_open() - prepare to open a verity file * @inode: the inode being opened * @filp: the struct file being set up * -- 2.53.0 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel