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.