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 A8049D35669 for ; Wed, 28 Jan 2026 03:22:51 +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:In-Reply-To:MIME-Version:References: Message-ID:To:Date:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9DsVF7UfJwtQXv4UbnO6vIuvk/CgUmlItw98cpIH7o4=; b=GMLYEYDpQy/rldOCRRc2BAphO4 69RvAN38/ibPnrpBrYolcRDIUf2YEAuvZT9/s78QSELaUxtYmtDHlE2bcVaJ4Ml/pOLZ7NRMkmvRS W6NrIjz1cQva14Yu3votZoJwy6eejQ3OO3yansdJTsjJHBJ9Rk7QhHi88Qp5BW/cLQLw=; 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 1vkw8n-0006bp-5W; Wed, 28 Jan 2026 03:22:49 +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 1vkw8l-0006bb-MR for linux-f2fs-devel@lists.sourceforge.net; Wed, 28 Jan 2026 03:22:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: 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=TVhvVbdThnPo0xRe3vTfyj6eaegaPlTfci6mHYzteyQ=; b=PmNbR820vfD83DYGXO06sEqMGM s9NHxde8zIo9Byk7xzA4Ym+NQs4bPetWeISb2Se3rBryT46LpNDjlRU7EuzOA4/KdpMTpXjl9BG3M REBbSHeM+L6Ud/+cUmQfEfXVd+2qhOYbNoBmf7jmqE9Vhy5a6xz8gJwnexM/V8TclbjY=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding: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=TVhvVbdThnPo0xRe3vTfyj6eaegaPlTfci6mHYzteyQ=; b=EicO/Wu+zBPsCjlTpY6Sz2FUCD DFJgPI8wQFdbU4OEbQ1WjfH1Wj4v1vDjmv2TEIiM2wgl99/UAiwkPtCm4b5c30g+ie2sGcbiAR8/P GK9gVc9QAJQ3IP+9nN1mQ9VDbBhKz6XZ9K0dNMy66lRBF/9QTsqEOUkuyFabA+nmZLuA=; 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 1vkw8l-0000Ho-4H for linux-f2fs-devel@lists.sourceforge.net; Wed, 28 Jan 2026 03:22:48 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id B908242B03; Wed, 28 Jan 2026 03:22:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 305E8C4CEF1; Wed, 28 Jan 2026 03:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769570556; bh=hO7Dvp+n2fT8USiyWHCLLJZmQ5uqUDuWImmkAnQEdLg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GVoeY+wZx5buXBTIHSfGxUGQ57DrOaBRKk5U5A/3h9N3bozABH3DFmg7tGDTgOWXw 8pOK+jle1pHoNNdSngnSz79EnorWBVoK6MUWSACqVy6ko4d52R0r+wZV7trXYk6oGr 0tCJEH+MjaMQfWnMRpkSDQs5UBbaCv7/TXS1i9GYb4dVjHBTEAT7aHvgVCbaikQibv rbWHYIIBbH1JSEqLPkGm9OzuvkCKXHUmqSWwyY7bTLmDhrYTHiTNqyA6bU5sfS2NlY fB0DubjlJnjMafKhG51XCPpwFeVgmjXE8o8FQ03pRK/N+dEF22Vk5OOrn/DLTUWHuj bVPe2pm4VAhKw== Date: Tue, 27 Jan 2026 19:22:03 -0800 To: Christoph Hellwig Message-ID: <20260128032203.GA2718@sol> References: <20260126045212.1381843-1-hch@lst.de> <20260126045212.1381843-10-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260126045212.1381843-10-hch@lst.de> X-Headers-End: 1vkw8l-0000Ho-4H Subject: Re: [f2fs-dev] [PATCH 09/16] fsverity: constify the vi pointer in fsverity_verification_context 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: fsverity@lists.linux.dev, Christian Brauner , Theodore Ts'o , Andrey Albershteyn , Matthew Wilcox , linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, Al Viro , Jaegeuk Kim , David Sterba , Jan Kara , linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Mon, Jan 26, 2026 at 05:50:55AM +0100, Christoph Hellwig wrote: > struct fsverity_info contains information that is only read in the > verification path. Apply the const qualifier to match various explicitly > passed arguments. > > Signed-off-by: Christoph Hellwig > --- > fs/verity/verify.c | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) Did you consider that fsverity_info::hash_block_verified is written to? It's a pointer to an array, so the 'const' doesn't apply to its contents. But logically it's still part of the fsverity information. - Eric _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel