__setlease(9)

__setlease9

Sets a lease on an open file

Usage

int __setlease(struct file * filp, long arg, struct file_lock ** flp);

Arguments

filp

file pointer

arg

type of lease to obtain

flp

input - file_lock to use, output - file_lock inserted

Overview

The (input) flp->fl_lmops->fl_break function is required by break_lease.

Called with kernel lock held.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.