Hide Forgot
If a lock's fl_end is LLONG_MAX, then the corresponding flock's len should be zero. Current code sets it to LLONG_MAX if fl_end is 0.
http://patches.gluster.com/patch/1009/ (features/locks: Fix reverse logic in posix_lock_to_flock) in mainline