vfs_test_lock(9)

vfs_test_lock9

Test file byte range lock

Usage

int vfs_test_lock(struct file * filp, struct file_lock * fl);

Arguments

filp

The file to test lock for

fl

The lock to test; also used to hold result

Overview

Returns -ERRNO on failure. Indicates presence of conflicting lock by setting conf->fl_type to something other than F_UNLCK.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.