locks_mandatory_locked (9) Linux Manual Page
locks_mandatory_locked – Check for an active lock
Synopsis
int locks_mandatory_locked(struct file *file);
Arguments
file
-
- the file to check
Description
Searches the inode’s list of locks to find any POSIX locks which conflict. This function is called from locks_verify_locked only.
