audit: correct audit_filter_inodes() definition
authorXiu Jianfeng <xiujianfeng@huawei.com>
Fri, 21 Jul 2023 11:21:01 +0000 (11:21 +0000)
committerPaul Moore <paul@paul-moore.com>
Fri, 21 Jul 2023 16:17:25 +0000 (12:17 -0400)
commitbf98354280bff22bc9e57c698d485c9e1c0b04f3
tree0922efdc4cfd378821da77948144cb0ba0747b6d
parentbe4187faa8a48cfef572eba9e3882fb2134bdf67
audit: correct audit_filter_inodes() definition

After changes in commit 0590b9335a1c ("fixing audit rule ordering mess,
part 1"), audit_filter_inodes() returns void, so if CONFIG_AUDITSYSCALL
not defined, it should be do {} while(0).

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit.h