Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\locks.c Create Date:2022-07-28 20:25:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:target_leasetype

Proto:static int target_leasetype(struct file_lock *fl)

Type:int

Parameter:

TypeParameterName
struct file_lock *fl
190  If fl_flags & Lease is being broken Then Return F_UNLCK
192  If fl_flags & Lease is being downgraded Then Return F_RDLCK
194  Return fl_type
Caller
NameDescribe
fcntl_getleaseEnquire what lease is currently active
lock_get_status