LOCKS_MANDATORY_AREA

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

locks_mandatory_area - Check for a conflicting lock  

SYNOPSIS

"SYNOPSIS"

int locks_mandatory_area (int read_write, struct inode * inode, struct file * filp, loff_t offset, size_t count);  

ARGUMENTS

read_write
FLOCK_VERIFY_WRITE for exclusive access, FLOCK_VERIFY_READ for shared
inode
the file to check
filp
-- undescribed --
offset
start of area to check
count
length of area to check
 

DESCRIPTION

Searches the inode's list of locks to find any POSIX locks which conflict. This function is called from locks_verify_area and locks_verify_truncate.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 07:07:16 GMT, October 06, 2005