__gfs2_xattr_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __gfs2_xattr_set(9) β€” the Kernel API Manual glow-up 🌸

okay bestie, so this is a kernel API manual page, and the star of the show is __gfs2_xattr_set(9) β€” it's giving β€œset a GFS2 extended attribute, or remove one” energy, and we're gonna walk through it together, no cap.


✨ NAME ✨

__gfs2_xattr_set β€” Set (or remove) a GFS2 extended attribute


πŸŽ€ SYNOPSIS πŸŽ€

int __gfs2_xattr_set (struct inode *inode , const char *name , const
       void *value , size_t size , int flags , int type );

πŸ’… ARGUMENTS πŸ’…

  • inode β€” the inode, literally the main character here 🫢
  • name β€” the name of the extended attribute
  • value β€” the value of the extended attribute (NULL for remove β€” yes, that's the removal signal, periodt)
  • size β€” the size of the value argument
  • flags β€” Create or Replace
  • type β€” the type of the extended attribute

πŸ¦‹ DESCRIPTION πŸ¦‹

so if you're wondering about taking xattrs away, the removal deets live over in gfs2_xattr_remove β€” go read that one for the full tea β˜•βœ¨


πŸ’– RETURN πŸ’–

0 or errno on failure β€” that's it, that's the vibe check 😭


🌈 SEE ALSO 🌈


lowkey obsessed with how many friends this one has in SEE ALSO β€” it's a whole group chat πŸ’€πŸ’–

kk that's the whole page, bestie β€” this lil manual lives in ./fs/gfs2, dated October 2026, and it's from the Kernel API Manual, all about __gfs2_xattr_set(9) πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from