1__BREAK_LEASE(9) The Linux VFS __BREAK_LEASE(9)
2
3
4
6 __break_lease - revoke all outstanding leases on file
7
9 int __break_lease(struct inode * inode, unsigned int mode);
10
12 inode
13 the inode of the file to return
14
15 mode
16 the open mode (read or write)
17
19 break_lease (inlined for speed) has checked there already is at least
20 some kind of lock (maybe a lease) on this file. Leases are broken on a
21 call to open or truncate. This function can sleep unless you specified
22 O_NONBLOCK to your open.
23
25Kernel Hackers Manual 2.6. November 2011 __BREAK_LEASE(9)