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_unlink - 'name' was unlinked* Caller must make sure that dentry->d_name is stable.

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

Type:void

Parameter:

TypeParameterName
struct inode *dir
struct dentry *dentry
199  WARN_ON_ONCE(d_is_negative(dentry))
201  Notify this @dir inode about a change in the directory entry @dentry.* Unlike fsnotify_parent(), the event will be reported regardless of the* FS_EVENT_ON_CHILD mask on the parent inode.
Caller
NameDescribe
vfs_unlinkvfs_unlink - unlink a filesystem object*@dir: parent directory*@dentry: victim*@delegated_inode: returns victim inode, if the inode is delegated.* The caller must hold dir->i_mutex.* If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and
devpts_pty_killdevpts_pty_kill -- remove inode form /dev/pts/*@inode: inode of the slave to be removed* This is an inverse operation of devpts_pty_new.