Name

locks_lock_inode_wait — Apply a lock to an inode

Synopsis

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

Arguments

struct inode * inode

inode of the file to apply to

struct file_lock * fl

The lock to be applied

Description

Apply a POSIX or FLOCK style lock request to an inode.