HomeFreeBSD

fusefs: fix two bugs regarding fcntl file locks

Description

fusefs: fix two bugs regarding fcntl file locks

  1. F_SETLKW (blocking) operations would be sent to the FUSE server as F_SETLK (non-blocking).
  1. Release operations, F_SETLK with lk_type = F_UNLCK, would simply return EINVAL.

PR: 253500
Reported by: John Millikin <jmillikin@gmail.com>
MFC after: 2 weeks

Details

Provenance
asomersAuthored on Mar 18 2021, 8:27 PM
Parents
rG6ceacebdf522: Unbreak MSG_CMSG_CLOEXEC
Branches
Unknown
Tags
Unknown