Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lease_setup

Proto:static void lease_setup(struct file_lock *fl, void **priv)

Type:void

Parameter:

TypeParameterName
struct file_lock *fl
void **priv
592  filp = fl_file
593  fa = priv
600  If Not Insert a new entry into the fasync list. Return the pointer to the* old one if we didn't use the new one.* NOTE! It is very important that the FASYNC flag always* match the state "is the filp on a fasync list". Then * priv = NULL
603  __f_setown(filp, task_pid(current process), PIDTYPE_TGID, 0)