[PATCH 07/13] ima,evm: use d_real_metadata_inode()

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sun Nov 15 14:05:48 UTC 2026


> d_real() is about to be able to fail for D_REAL_DATA. D_REAL_METADATA
> never has to look anything up and can't fail. Make that explicit and
> switch the open-coded d_inode(d_real(..., D_REAL_METADATA)) in
> process_measurement() and evm_calc_hmac_or_hash() over to
> d_real_metadata_inode().
> 
> No functional changes.
> 
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261115-work-ovl-d_real-v1-0-ca155efbcb2e@kernel.org?part=7




More information about the Linux-security-module-archive mailing list