.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "__SETLEASE" 9 "August 2005" "Kernel Hackers Manual" "LINUX" .SH NAME __setlease \- sets a lease on an open file .SH "SYNOPSIS" .ad l .hy 0 .HP 18 int\ \fB__setlease\ \fR\ (struct\ file\ *\ \fIfilp\fR, long\ \fIarg\fR, struct\ file_lock\ **\ \fIflp\fR); .ad .hy .SH "ARGUMENTS" .TP \fIfilp\fR file pointer .TP \fIarg\fR type of lease to obtain .TP \fIflp\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\&.