.\" 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 "__BREAK_LEASE" "" "06 October 2005" "" ""
.SH NAME
__break_lease \- revoke all outstanding leases on file
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int __break_lease (struct inode * \fIinode\fB, unsigned int \fImode\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIinode\fB\fR
the inode of the file to return
.TP
\fB\fImode\fB\fR
the open mode (read or write)
.SH "DESCRIPTION"
.PP
break_lease (inlined for speed) has checked there already
is a lease on this file. Leases are broken on a call to \fBopen\fR
or \fBtruncate\fR\&. This function can sleep unless you
specified O_NONBLOCK to your \fBopen\fR\&.