diff options
author | 2022-06-10 17:23:07 +0800 | |
---|---|---|
committer | 2022-08-01 11:26:09 -0700 | |
commit | aa16fb4b9e7e1057008d999138e7ae68a40bf167 (patch) | |
tree | 00c0321d28adb5c7145477378959554882ab89d2 /scripts/generate_rust_analyzer.py | |
parent | smack: Replace kzalloc + strncpy with kstrndup (diff) | |
download | wireguard-linux-aa16fb4b9e7e1057008d999138e7ae68a40bf167.tar.xz wireguard-linux-aa16fb4b9e7e1057008d999138e7ae68a40bf167.zip |
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 <xiujianfeng@huawei.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions