[PATCH -next 6/9] lockdown: drop an unused include and simplify secfs init

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 3 07:55:23 UTC 2026


> linux/export.h is not needed since the file has no EXPORT_SYMBOL() usage.
> Also return the result of securityfs_create_file() directly instead of
> storing it in a temporary dentry.
> 
> Signed-off-by: Cai Xinchen <caixinchen1 at huawei.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261103082421.3033195-1-caixinchen1@huawei.com?part=6




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