diff options
author | NeilBrown <neilb@suse.com> | 2018-11-30 02:04:08 +0300 |
---|---|---|
committer | Jeff Layton <jlayton@kernel.org> | 2018-12-07 14:49:24 +0300 |
commit | c0e15908979d269a8263b0c0a222b894b9f403e9 (patch) | |
tree | 07dd4976b69a6e4c98a83f0adf6fca2140474df4 /fs/pnode.c | |
parent | 16306a61d3b7c433c7a127ec6224867b88ece687 (diff) | |
download | linux-c0e15908979d269a8263b0c0a222b894b9f403e9.tar.xz |
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 <neilb@suse.com>
Reviewed-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/pnode.c')
0 files changed, 0 insertions, 0 deletions