summaryrefslogtreecommitdiff
path: root/mm/frontswap.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-07-11 16:28:40 +0300
committerMimi Zohar <zohar@linux.ibm.com>2018-07-22 21:49:11 +0300
commit3dd0f18c70d94ca2432c78c5735744429f071b0b (patch)
tree2e6f6197b0545d4ae84cdf35382981b0a0c0ecca /mm/frontswap.c
parent6eb864c1d9dd1ef32b88e03c3f49d8be0dab7dcf (diff)
downloadlinux-3dd0f18c70d94ca2432c78c5735744429f071b0b.tar.xz
EVM: fix return value check in evm_write_xattrs()
In case of error, the function audit_log_start() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: fa516b66a1bf ("EVM: Allow runtime modification of the set of verified xattrs") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Serge Hallyn <serge@hallyn.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'mm/frontswap.c')
0 files changed, 0 insertions, 0 deletions