Scroll to navigation

LOCKS_MANDATORY_LOCK(9) The Linux VFS LOCKS_MANDATORY_LOCK(9)

NAME

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.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10