Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:snotify_link - new hardlink in 'inode' directory* Note: We have to pass also the linked inode ptr as some filesystems leave

Proto:static inline void fsnotify_link(struct inode *dir, struct inode *inode, struct dentry *new_dentry)

Type:void

Parameter:

TypeParameterName
struct inode *dir
struct inode *inode
struct dentry *new_dentry>d_inode NULL and instantiate inode pointer later
185  snotify_link_count - inode's link count changed
186  audit_inode_child(dir, >d_inode NULL and instantiate inode pointer later, a child being created )
188  fsnotify(dir, Subfile was created , inode, FSNOTIFY_EVENT_INODE, & d_name, 0)
Caller
NameDescribe
vfs_linkvfs_link - create a new link*@old_dentry: object to be linked*@dir: new parent*@new_dentry: where to create the new link*@delegated_inode: returns inode needing a delegation break* The caller must hold dir->i_mutex* If vfs_link discovers a delegation on