Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:GETLK was successful and we need to return the data, but it needs to fit in* the compat structure.* l_start shouldn't be too big, unless the original start + end is greater than* COMPAT_OFF_T_MAX, in which case the app was asking for trouble, so we return

Proto:static int fixup_compat_flock(struct flock *flock)

Type:int

Parameter:

TypeParameterName
struct flock *flock
603  If l_start > COMPAT_OFF_T_MAX Then Return -EOVERFLOW
605  If l_len > COMPAT_OFF_T_MAX Then l_len = COMPAT_OFF_T_MAX
607  Return 0
Caller
NameDescribe
do_compat_fcntl64