Wick.Protocol.Request.GetLk (wick v0.1.0)

Copy Markdown View Source

FUSE_GETLK — fuse_lk_in (48 bytes). Probes for a conflicting byte-range lock. lk_flags & FUSE_LK_FLOCK (= 1) is meaningless for GETLK in POSIX terms — the kernel doesn't issue GETLK for flock when FUSE_FLOCK_LOCKS is advertised; handlers fall back to F_UNLCK if it ever does.

Summary

Types

t()

@type t() :: %Wick.Protocol.Request.GetLk{
  fh: non_neg_integer(),
  lk: Wick.Protocol.Request.FileLock.t(),
  lk_flags: non_neg_integer(),
  owner: non_neg_integer()
}