函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\locks.c Create Date:2022-07-29 10:59:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:locks_delete_lock_ctx

函数原型:static void locks_delete_lock_ctx(struct file_lock *fl, struct list_head *dispose)

返回类型:void

参数:

类型参数名称
struct file_lock *fl
struct list_head *dispose
872  locks_unlink_lock_ctx(fl)
873  如果dispose添加链表项
875  否则Free a lock which is not in use.
调用者
名称描述
flock_lock_inodeTry to create a FLOCK lock on filp
posix_lock_inode
lease_modifyWe already had a lease on this file; just change its type
__break_lease撤销所有未偿还的文件