locks_lock_inode_wait(9)

locks_lock_inode_wait9

Apply a lock to an inode

Usage

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

Overview

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

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.