ea_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ea_write(9) β€” the kernel API manual, but make it make sense

okay bestie, welcome to ea_write(9), straight out of the Kernel API Manual and living in section 9. This is the little function that writes your request info into an extended attribute, and yes it will make brand new blocks if it has to. no cap, she's a builder. πŸŽ€


✨ NAME ✨

ea_write β€” writes the request info to an ea, creating new blocks if necessary πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

int ea_write (struct gfs2_inode *ip , struct gfs2_ea_header *ea , struct
gfs2_ea_request *er );

🌸 ARGUMENTS 🌸

  • ip β€” the inode that's getting modified. this is the main character whose vibe we are shifting ✨
  • ea β€” the location of the new ea in a block. like, where the new ea is gonna live, in a block πŸ“
  • er β€” the write request. the actual ask, the whole point, the moment πŸ™Œ

πŸ’€ NOTE πŸ’€

okay so listen, this one's important β€” ea_write does not update ea_rec_len or the GFS2_EAFLAG_LAST bin of ea_flags. so do not come for her later being like "why is this wrong", girl it was never her job. literally not her department πŸ’…

πŸ”₯ RETURN πŸ”₯

errno β€” yes that's it, that's the whole return. classic. πŸ‘‘

🫢 SEE ALSO 🫢

go read the whole friend group, they're all obsessed with each other iykyk 🌈


and that's the whole page bestie!! brought to you by ./fs/gfs2 in iconic October 2026 β€” mwah, stan the kernel, bye!! πŸ’œπŸ§š

πŸ“¦ where this page comes from