__gfs2_xattr_set(9)
πΈ __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 attributevalueβ the value of the extended attribute (NULLfor remove β yes, that's the removal signal, periodt)sizeβ the size of thevalueargumentflagsβCreateorReplacetypeβ 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 π
- Kernel file
./fs/gfs2/xattr.c gfs2_listxattr(9)gfs2_iter_unstuffed(9)__gfs2_xattr_get(9)ea_alloc_blk(9)ea_write(9)gfs2_xattr_remove(9)gfs2_ea_dealloc(9)
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
- 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