__vfs_removexattr_locked(9)
πΈ __vfs_removexattr_locked π
okay bestie, so this is a page from the Kernel API Manual and it's about __vfs_removexattr_locked β the locked, locked-in, main-character version of removing an extended attribute. β¨
β¨ NAME β¨
__vfs_removexattr_locked β set an extended attribute while holding the inode lock
yes, the description literally says "set" even though the whole function is about removing β we don't ask questions, we copy the facts fr fr π
π SYNOPSIS π
int __vfs_removexattr_locked (struct mnt_idmap *idmap , struct dentry
*dentry , const char *name , struct delegated_inode *delegated_inode );
it's giving "returns an int" and takes four things. slay. π
π¦ ARGUMENTS π¦
idmapβ the idmap of the mount of the target inode. iykyk. πdentryβ the object you're gonna perform setxattr on. that's the target, bestie. π―nameβ the name of the xattr to remove. literally just a string, do with that what you will. πdelegated_inodeβ on return, this will contain an inode pointer that a delegation was broken on, andNULLif none. so lowkey it's an out-param situation π
π SEE ALSO π
- Kernel file
./fs/xattr.c may_write_xattr(9)__vfs_setxattr_noperm(9)__vfs_setxattr_locked(9)vfs_listxattr(9)generic_listxattr(9)xattr_full_name(9)simple_xattr_space(9)simple_xattr_free(9)simple_xattr_free_rcu(9)simple_xattr_alloc(9)simple_xattr_get(9)simple_xattr_set(9)simple_xattr_set_limited(9)simple_xattr_list(9)simple_xattr_add(9)simple_xattr_add_limited(9)simple_xattrs_free(9)simple_xattr_cache_cleanup(9)
π«Ά that's the whole page, no cap. every single one of those cross-refs stays, because they ate and left no crumbs. π₯
and that's a wrap, bestie!! this came to you from ./fs, dated October 2026, straight outta the Kernel API Manual β go forth and remove those xattrs (while holding the inode lock, obviously) ππ
π§
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms