__get_lease
Section: Kernel Hacker's Manual (9)
Updated: __get_lease
Index
Return to Main Contents
NAME
__get_lease - revoke all outstanding leases on file
SYNOPSIS
int __get_lease
(struct inode *inode,
unsigned int mode);
ARGUMENTS
- inode
-
the inode of the file to return
- mode
-
the open mode (read or write)
DESCRIPTION
get_lease (inlined for speed) has checked there already
is a lease on this file. Leases are broken on a call to open
or truncate. This function can sleep unless you
specified O_NONBLOCK to your open.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 03:15:43 GMT, June 12, 2005