table of contents
other versions
- stretch 4.9.168-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(struct inode * inode, struct file * filp, loff_t start, loff_t end, unsigned char type);
ARGUMENTS¶
inodethe file to check
filp
how the file was opened (if it was)
start
first byte in the file to check
end
lastbyte in the file to check
type
F_WRLCK for a write lock, else
F_RDLCK
DESCRIPTION¶
Searches the inode's list of locks to find any POSIX locks which conflict.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |