SysTutorials

Linux Manual Pages › Section 9

locks_lock_inode_wait(9)

locks_lock_inode_wait - Apply a lock to an inode

Synopsis

int locks_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 POSIX or FLOCK style lock request to an inode.

Copyright