1VFS_TEST_LOCK(9)                 The Linux VFS                VFS_TEST_LOCK(9)
2
3
4

NAME

6       vfs_test_lock - test file byte range lock
7

SYNOPSIS

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

ARGUMENTS

12       filp
13           The file to test lock for
14
15       fl
16           The lock to test; also used to hold result
17

DESCRIPTION

19       Returns -ERRNO on failure. Indicates presence of conflicting lock by
20       setting conf->fl_type to something other than F_UNLCK.
21
23Kernel Hackers Manual 2.6.         June 2019                  VFS_TEST_LOCK(9)
Impressum