Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:setlease_notifier

Proto:static inline void setlease_notifier(long arg, struct file_lock *lease)

Type:void

Parameter:

TypeParameterName
longarg
struct file_lock *lease
2013  If arg != F_UNLCK Then srcu_notifier_call_chain( & Kernel subsystems can register to be notified on any attempt to set* a new lease with the lease_notifier_chain. This is used by (e.g.) nfsd* to close files that it may have cached when there is an attempt to set a* conflicting lease., arg, lease)
Caller
NameDescribe
vfs_setleasevfs_setlease - sets a lease on an open file*@filp: file pointer*@arg: type of lease to obtain*@lease: file_lock to use when adding a lease*@priv: private info for lm_setup when adding a lease (may be* NULL if lm_setup doesn't require it)