fsverity: remove inode from fsverity_verification_ctx
Subsystems (2)
Eric Biggers
maintainerPATCH 1/1 fsverity: remove inode from fsverity_verification_ctx
This field is no longer used, so remove it.
Signed-off-by Eric Biggers <[email protected]>
--- fs/verity/verify.c | 2 -- 1 file changed, 2 deletions(-)
fs/verity/verify.c +0 -2
@@ -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
Signature · 1 line
2.52.0
Quoted 1 line · Eric Biggers
This field is no longer used, so remove it.
Looks good:
Reviewed-by Christoph Hellwig <[email protected]>