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>

(cherry picked from commit 929acdb19acb67cc0e6ee5439df98e28a84d4772)

Details

Provenance
asomersAuthored on Mar 18 2021, 8:27 PM
Parents
rG774abe650b84: Modernize geom_stats_snapshot_get
Branches
Unknown
Tags
Unknown