flock_lock_inode_wait(9) Apply a FLOCK-style lock to a file

SYNOPSIS

int flock_lock_inode_wait(struct inode * inode, struct file_lock * fl);

ARGUMENTS

inode

inode of the file to apply to

fl

The lock to be applied

DESCRIPTION

Apply a FLOCK style lock request to an inode.

COPYRIGHT