Skip to content
Commit 6d34ac19 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

locks: make posix_test_lock() interface more consistent



Since posix_test_lock(), like fcntl() and ->lock(), indicates absence or
presence of a conflict lock by setting fl_type to, respectively, F_UNLCK
or something other than F_UNLCK, the return value is no longer needed.

Signed-off-by: default avatar"J. Bruce Fields" <bfields@citi.umich.edu>
parent 370f6599
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment