gfs2_iter_unstuffed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is gfs2_iter_unstuffed from the Kernel API Manual, and it's literally the helper that copies the unstuffed xattr data to/from the request buffer.

gfs2_iter_unstuffed - copies the unstuffed xattr data to/from the request buffer


✨ SYNOPSIS ✨

int gfs2_iter_unstuffed (struct gfs2_inode *ip , struct gfs2_ea_header *ea , const char *din , char *dout );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ip β€” The GFS2 inode. iconic little context object, no notes.
  • ea β€” The extended attribute header structure. yes bestie, the xattr header itself.
  • din β€” The data to be copied in. incoming data vibes.
  • dout β€” The data to be copied out. and heads up: one of din,dout will be NULL.

πŸŽ€ RETURN πŸŽ€

errno β€” that's the return value, periodt.


🌈 SEE ALSO 🌈

Kernel file ./fs/gfs2/xattr.c plus the whole squad: gfs2_listxattr(9), __gfs2_xattr_get(9), ea_alloc_blk(9), ea_write(9), gfs2_xattr_remove(9), __gfs2_xattr_set(9), gfs2_ea_dealloc(9).


later bestie πŸ’– this page is signed off from ./fs/gfs2, dated October 2026, and yes it's still the gfs2_iter_unstuffed(9) page 🫢✨

πŸ“¦ where this page comes from