+15
−12
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>