| Function report | 
| Source Code: fs\locks.c | Create Date:2022-07-28 20:25:29 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:leases_conflict
Proto:static bool leases_conflict(struct file_lock *lease, struct file_lock *breaker)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file_lock * | lease | |
| struct file_lock * | breaker | 
| 1535 | If (fl_flags & utstanding pNFS layout ) != (fl_flags & utstanding pNFS layout ) Then | 
| 1539 | If fl_flags & NFSv4 delegation && fl_flags & lease held on this file Then | 
| 1544 | rc = Determine if lock sys_fl blocks lock caller_fl. Common functionality* checks for shared/exclusive status of overlapping locks. | 
| 1545 | trace : | 
| 1546 | trace_leases_conflict(rc, lease, breaker) | 
| 1547 | Return rc | 
| Name | Describe | 
|---|---|
| any_leases_conflict | |
| __break_lease | revoke all outstanding leases on file | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |