Query: vfs_test_lock
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VFS_TEST_LOCK(9) The Linux VFS VFS_TEST_LOCK(9)NAMEvfs_test_lock - test file byte range lockSYNOPSISint vfs_test_lock(struct file * filp, struct file_lock * fl);ARGUMENTSfilp The file to test lock for fl The lock to test; also used to hold resultDESCRIPTIONReturns -ERRNO on failure. Indicates presence of conflicting lock by setting conf->fl_type to something other than F_UNLCK.COPYRIGHTKernel Hackers Manual 3.10 June 2014 VFS_TEST_LOCK(9)