.\" 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 "__SETLEASE" "9" "09 October 2005" "" ""
.SH NAME
__setlease \- sets a lease on an open file
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int __setlease (struct file * \fIfilp\fB, long \fIarg\fB, struct file_lock ** \fIflp\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfilp\fB\fR
file pointer
.TP
\fB\fIarg\fB\fR
type of lease to obtain
.TP
\fB\fIflp\fB\fR
input - file_lock to use, output - file_lock inserted
.SH "DESCRIPTION"
.PP
The (input) flp->fl_lmops->fl_break function is required
by \fBbreak_lease\fR\&.
.PP
Called with kernel lock held.