函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vfs_whiteout

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

返回类型:int

参数:

类型参数名称
struct inode *dir
struct dentry *dentry
4621  error等于Check whether we can create an object with dentry child in directory* dir.* 1. We can't do it if child already exists (open has special treatment for* this case, but since we are inlined it's OK)* 2
4622  如果error则返回:error
4625  如果非mknod则返回:负EPERM
4628  返回:mknod(dir, dentry, S_IFCHR | Whiteout is represented by a char device. The following constants define the* mode and device number to use., WHITEOUT_DEV)