gfs2_xattr_remove(9)
π
gfs2_xattr_remove(9) π
okay bestie, welcome to the Kernel API Manual entry for gfs2_xattr_remove β we're deep in kernel filesystem territory and it's giving very specific internals β¨
πΈ NAME πΈ
gfs2_xattr_remove β Remove a GFS2 extended attribute
β¨ SYNOPSIS β¨
int gfs2_xattr_remove (struct gfs2_inode *ip , int type , const char *name );
π ARGUMENTS π
ipβ The inode, aka the main character here πtypeβ The type of the extended attributenameβ The name of the extended attribute
π¦ DESCRIPTION π¦
So here's the tea: this is not called directly by the VFS. Nope, not even a little. We use the (common) scheme of making a "set with NULL data" mean a remove request.
And bestie, listen β this is different from a set with zero length data. Do not mix those two up, fr fr. One is the remove-request vibe; the other is zero-length data. They are not the same π
π RETURN π
0, or errno on failure.
π₯ SEE ALSO π₯
Kernel file ./fs/gfs2/xattr.c, plus gfs2_listxattr(9), gfs2_iter_unstuffed(9), __gfs2_xattr_get(9), ea_alloc_blk(9), ea_write(9), __gfs2_xattr_set(9), and gfs2_ea_dealloc(9).
signed off from the ./fs/gfs2 source/version corner, dated October 2026, on page gfs2_xattr_remove(9) β slay and goodbye π«Άπ
π¦ 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