Name

posix_lock_inode_wait — Apply a POSIX-style lock to a file

Synopsis

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

Arguments

inode

inode of file to which lock request should be applied

fl

The lock to be applied

Description

Variant of posix_lock_file_wait that does not take a filp, and so can be used after the filp has already been torn down.