Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:simple_rmdir

Proto:int simple_rmdir(struct inode *dir, struct dentry *dentry)

Type:int

Parameter:

TypeParameterName
struct inode *dir
struct dentry *dentry
368  If Not simple_empty(dentry) Then Return -ENOTEMPTY
371  drop_nlink - directly drop an inode's link count*@inode: inode* This is a low-level filesystem helper to replace any* direct filesystem manipulation of i_nlink
372  simple_unlink(dir, dentry)
373  drop_nlink - directly drop an inode's link count*@inode: inode* This is a low-level filesystem helper to replace any* direct filesystem manipulation of i_nlink
374  Return 0
Caller
NameDescribe
aafs_removeaafs_remove - removes a file or directory from the apparmorfs filesystem*@dentry: dentry of the file/directory/symlink to removed.