diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2023-03-10 11:54:00 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-03-11 02:33:52 +0300 |
commit | b7c1ae4bcc5b7e737b46d469959446afc76d3165 (patch) | |
tree | f8174e27e0813354bd78113a7e9addeac1bb7c37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 42994ee3cd7298b27698daa6848ed7168e72d056 (diff) | |
download | linux-b7c1ae4bcc5b7e737b46d469959446afc76d3165.tar.xz |
Revert "integrity: double check iint_cache was initialized"
With the recent introduction of LSM_ORDER_LAST, the 'integrity' LSM is
always initialized (if selected in the kernel configuration) and the
iint_cache is always created (the kernel panics on error). Thus, the
additional check of iint_cache in integrity_inode_get() is no longer
necessary. If the 'integrity' LSM is not selected in the kernel
configuration, integrity_inode_get() just returns NULL.
This reverts commit 92063f3ca73aab794bd5408d3361fd5b5ea33079.
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Acked-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions