]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fsverity: remove inode from fsverity_verification_ctx
authorEric Biggers <ebiggers@kernel.org>
Mon, 2 Feb 2026 21:33:39 +0000 (13:33 -0800)
committerEric Biggers <ebiggers@kernel.org>
Wed, 4 Feb 2026 19:31:54 +0000 (11:31 -0800)
This field is no longer used, so remove it.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20260202213339.143683-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
fs/verity/verify.c

index 37e000f01c180455936fbef8e00f611c0ce5dd00..31797f9b24d0fdea0b23bdd0c150332e99b2646c 100644 (file)
@@ -19,7 +19,6 @@ struct fsverity_pending_block {
 };
 
 struct fsverity_verification_context {
-       struct inode *inode;
        struct fsverity_info *vi;
 
        /*
@@ -316,7 +315,6 @@ 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 &&