diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2023-10-31 15:32:06 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-11-08 23:39:42 +0300 |
commit | 866d648059d5faf53f1cd960b43fe8365ad93ea7 (patch) | |
tree | b1dcd433059b82bb916ed1bfc155f6e1ee644a8f /fs/jbd2/commit.c | |
parent | e508560672890b2873c89258b88fade1356392ce (diff) | |
download | linux-866d648059d5faf53f1cd960b43fe8365ad93ea7.tar.xz |
lsm: fix default return value for vm_enough_memory
1 is the return value that implements a "no-op" hook, not 0.
Cc: stable@vger.kernel.org
Fixes: 98e828a0650f ("security: Refactor declaration of LSM hooks")
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions