diff options
author | NeilBrown <[email protected]> | 2018-11-30 10:04:08 +1100 |
---|---|---|
committer | Jeff Layton <[email protected]> | 2018-12-07 06:49:24 -0500 |
commit | c0e15908979d269a8263b0c0a222b894b9f403e9 (patch) | |
tree | 07dd4976b69a6e4c98a83f0adf6fca2140474df4 /security/selinux/hooks.c | |
parent | 16306a61d3b7c433c7a127ec6224867b88ece687 (diff) |
fs/locks: change all *_conflict() functions to return bool.
posix_locks_conflict() and flock_locks_conflict() both return int.
leases_conflict() returns bool.
This inconsistency will cause problems for the next patch if not
fixed.
So change posix_locks_conflict() and flock_locks_conflict() to return
bool.
Also change the locks_conflict() helper.
And convert some
return (foo);
to
return foo;
Signed-off-by: NeilBrown <[email protected]>
Reviewed-by: J. Bruce Fields <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions