Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfs_removexattr

Proto:int vfs_removexattr(struct dentry *dentry, const char *name)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
const char *name
384  inode = Where the name belongs to - NULL is * negative
387  error = Check permissions for extended attribute access. This is a bit complicated* because different namespaces have very different rules.
388  If error Then Return error
391  inode_lock(inode)
392  error = security_inode_removexattr(dentry, name)
393  If error Then Go to out
396  error = __vfs_removexattr(dentry, name)
398  If Not error Then
399  snotify_xattr - extended attributes were changed
400  evm_inode_post_removexattr(dentry, name)
403  out :
404  inode_unlock(inode)
405  Return error
Caller
NameDescribe
removexattrExtended attribute REMOVE operations