1GENERIC_SETLEASE(9)              The Linux VFS             GENERIC_SETLEASE(9)
2
3
4

NAME

6       generic_setlease - sets a lease on an open file
7

SYNOPSIS

9       int generic_setlease(struct file * filp, long arg,
10                            struct file_lock ** flp);
11

ARGUMENTS

13       filp
14           file pointer
15
16       arg
17           type of lease to obtain
18
19       flp
20           input - file_lock to use, output - file_lock inserted
21

DESCRIPTION

23       The (input) flp->fl_lmops->fl_break function is required by
24       break_lease.
25
26       Called with kernel lock held.
27
29Kernel Hackers Manual 2.6.       November 2011             GENERIC_SETLEASE(9)
Impressum