Reference

posix_lock_file_conf(9)

Apply a POSIX-style lock to a file

NAME

posix_lock_file_conf - Apply a POSIX-style lock to a file

SYNOPSIS

int posix_lock_file_conf(struct file * filp, struct file_lock * fl, struct file_lock * conflock);

ARGUMENTS

filp

The file to apply the lock to

fl

The lock to be applied

conflock

Place to return a copy of the conflicting lock, if found.

DESCRIPTION

Except for the conflock parameter, acts just like posix_lock_file.

COPYRIGHT