table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
| VFS_TEST_LOCK(9) | The Linux VFS | VFS_TEST_LOCK(9) |
NAME¶
vfs_test_lock - test file byte range lockSYNOPSIS¶
int
vfs_test_lock(struct file * filp,
struct file_lock * fl);
ARGUMENTS¶
filpThe file to test lock for
fl
The lock to test; also used to hold result
DESCRIPTION¶
Returns -ERRNO on failure. Indicates presence of conflicting lock by setting conf->fl_type to something other than F_UNLCK.COPYRIGHT¶
| May 2018 | Kernel Hackers Manual 4.9. |