1. NAME▲
generic_setlease - sets a lease on an open file
2. SYNOPSIS ▲
int generic_setlease(struct file * filp , long arg , struct file_lock ** flp );
3. ARGUMENTS ▲
filp
file pointer
arg
type of lease to obtain
flp
input - file_lock to use, output - file_lock inserted
4. DESCRIPTION ▲
The (input) flp->fl_lmops->lm_break function is required by break_lease.
Called with file_lock_lock held.
5. COPYRIGHT ▲