Rechercher une page de manuel
__break_lease
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
__break_lease - revoke all outstanding leases on fileSYNOPSIS
- int __break_lease(struct inode * inode, unsigned int mode);
ARGUMENTS
inode
- the inode of the file to return
mode
- the open mode (read or write)
DESCRIPTION
break_lease (inlined for speed) has checked there already is at least some kind of lock (maybe 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.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre