Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fsnotify.h Create Date:2022-07-28 11:57:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:snotify_close - file was closed

Proto:static inline void fsnotify_close(struct file *file)

Type:void

Parameter:

TypeParameterName
struct file *file
281  path = f_path
282  inode = file_inode(file)
283  mode = f_mode
284  mask = If mode & le is open for writing Then Writtable file was closed Else Unwrittable file closed
286  If S_ISDIR(i_mode) Then mask |= vent occurred against dir
289  If Not (f_mode & File was opened by fanotify and shouldn't generate fanotify events ) Then Simple wrapper to consolidate calls fsnotify_parent()/fsnotify() when* an event is on a path.
Caller
NameDescribe
__fputhe real guts of fput() - releasing the last reference to file