__vfs_removexattr_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __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, and NULL if none. so lowkey it's an out-param situation πŸ‘€

πŸ’– SEE ALSO πŸ’–


🫢 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