centos man page for __break_lease

Query: __break_lease

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

__BREAK_LEASE(9)						   The Linux VFS						  __BREAK_LEASE(9)

NAME
__break_lease - revoke all outstanding leases on file
SYNOPSIS
int __break_lease(struct inode * inode, unsigned int mode, unsigned int type);
ARGUMENTS
inode the inode of the file to return mode O_RDONLY: break only write leases; O_WRONLY or O_RDWR: break all leases type FL_LEASE: break leases and delegations; FL_DELEG: break only delegations
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
Kernel Hackers Manual 3.10 June 2014 __BREAK_LEASE(9)
Related Man Pages
dhclient.leases(5) - linux
struct_uio_info(9) - centos
dhclient.leases(5) - redhat
clri(1m) - hpux
clri(8) - opendarwin
Similar Topics in the Unix Linux Community
stupid IP question