.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "LOCKS_MANDATORY_LOCKED" "" "06 October 2005" "" ""
.SH NAME
locks_mandatory_locked \- Check for an active lock
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int locks_mandatory_locked (struct inode * \fIinode\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIinode\fB\fR
the file to check
.SH "DESCRIPTION"
.PP
Searches the inode's list of locks to find any POSIX locks which conflict.
This function is called from \fBlocks_verify_locked\fR only.