Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
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 |
Name | Describe |
---|---|
do_compat_fcntl64 |
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 |