table of contents
other versions
- wheezy 3.2.78-1
LOCKS_MANDATORY_AREA(9) | The Linux VFS | LOCKS_MANDATORY_AREA(9) |
NAME¶
locks_mandatory_area - Check for a conflicting lockSYNOPSIS¶
int
locks_mandatory_area(int read_write,
struct inode * inode,
struct file * filp,
loff_t offset, size_t count);
ARGUMENTS¶
read_writethe file to check
filp
how the file was opened (if it was)
offset
start of area to check
count
length of area to check
DESCRIPTION¶
Searches the inode's list of locks to find any POSIX locks which conflict. This function is called from rw_verify_area and locks_verify_truncate.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |