Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\mqueue.c Create Date:2022-07-28 16:50:47
Last Modify:2020-03-17 23:00:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mqueue_unlink

Proto:static int mqueue_unlink(struct inode *dir, struct dentry *dentry)

Type:int

Parameter:

TypeParameterName
struct inode *dir
struct dentry *dentry
545  inode = d_inode - Get the actual inode of this dentry*@dentry: The dentry to query* This is the helper normal filesystems should use to get at their own inodes* in their own dentries and ignore the layering superimposed upon them.
547  i_ctime = i_mtime = i_atime = current_time(dir)
548  i_size -= DIRENT_SIZE
549  drop_nlink(inode)
550  dput(dentry)
551  Return 0