public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fsverity: remove inode from fsverity_verification_ctx
@ 2026-02-02 21:33 Eric Biggers
  2026-02-03  5:29 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2026-02-02 21:33 UTC (permalink / raw)
  To: fsverity
  Cc: linux-fsdevel, Christoph Hellwig, Theodore Ts'o, Eric Biggers

This field is no longer used, so remove it.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
---
 fs/verity/verify.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/verity/verify.c b/fs/verity/verify.c
index 37e000f01c180..31797f9b24d0f 100644
--- a/fs/verity/verify.c
+++ b/fs/verity/verify.c
@@ -17,11 +17,10 @@ struct fsverity_pending_block {
 	u64 pos;
 	u8 real_hash[FS_VERITY_MAX_DIGEST_SIZE];
 };
 
 struct fsverity_verification_context {
-	struct inode *inode;
 	struct fsverity_info *vi;
 
 	/*
 	 * This is the queue of data blocks that are pending verification.  When
 	 * the crypto layer supports interleaved hashing, we allow multiple
@@ -314,11 +313,10 @@ static bool verify_data_block(struct fsverity_info *vi,
 
 static void
 fsverity_init_verification_context(struct fsverity_verification_context *ctx,
 				   struct fsverity_info *vi)
 {
-	ctx->inode = vi->inode;
 	ctx->vi = vi;
 	ctx->num_pending = 0;
 	if (vi->tree_params.hash_alg->algo_id == HASH_ALGO_SHA256 &&
 	    sha256_finup_2x_is_optimized())
 		ctx->max_pending = 2;

base-commit: ada3a1a48d5a21a78c1460c8853502d13062ffc9
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] fsverity: remove inode from fsverity_verification_ctx
  2026-02-02 21:33 [PATCH] fsverity: remove inode from fsverity_verification_ctx Eric Biggers
@ 2026-02-03  5:29 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2026-02-03  5:29 UTC (permalink / raw)
  To: Eric Biggers
  Cc: fsverity, linux-fsdevel, Christoph Hellwig, Theodore Ts'o

On Mon, Feb 02, 2026 at 01:33:39PM -0800, Eric Biggers wrote:
> This field is no longer used, so remove it.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-03  5:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 21:33 [PATCH] fsverity: remove inode from fsverity_verification_ctx Eric Biggers
2026-02-03  5:29 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox