Files
Linux/security/smack
Xiu Jianfeng aa16fb4b9e smack: Remove the redundant lsm_inode_alloc
It's not possible for inode->i_security to be NULL here because every
inode will call inode_init_always and then lsm_inode_alloc to alloc
memory for inode->security, this is what LSM infrastructure management
do, so remove this redundant code.

Signed-off-by: Xiu Jianfeng <[email protected]>
Signed-off-by: Casey Schaufler <[email protected]>
2022-08-01 11:26:09 -07:00
..