函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\libfs.c Create Date:2022-07-29 10:40:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:simple_rmdir

函数原型:int simple_rmdir(struct inode *dir, struct dentry *dentry)

返回类型:int

参数:

类型参数名称
struct inode *dir
struct dentry *dentry
368  如果非simple_empty(dentry)则返回:负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  返回:0
调用者
名称描述
aafs_removeaafs_remove - removes a file or directory from the apparmorfs filesystem*@dentry: dentry of the file/directory/symlink to removed.