Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfs_whiteout

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

Type:int

Parameter:

TypeParameterName
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  If error Then Return error
4625  If Not mknod Then Return -EPERM
4628  Return 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)