gfs2_meta_new(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– gfs2_meta_new(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this one's a lil function called gfs2_meta_new, and it's lowkey the "gimme a fresh block" girlie of the GFS2 world. let's get into it ✨


🌸 NAME 🌸

gfs2_meta_new β€” Get a block. that's it, that's the whole vibe. she gets a block. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct buffer_head * gfs2_meta_new (struct gfs2_glock *gl , u64 blkno );

look at her signature, so iconic, so structured. struct buffer_head * coming back at you like a lil gift πŸŽ€


✨ ARGUMENTS ✨

  • gl β€” the glock associated with this block. yeah, that glock, her emotional support lock 🫢
  • blkno β€” the block number. which block? this block. u64 energy fr fr πŸ”₯

πŸ’œ RETURN πŸ’œ

The buffer. that's the whole answer, no cap β€” you get the buffer back πŸ˜­πŸ’–


🌈 SEE ALSO 🌈

like, go read her friends too, they're all main characters in ./fs/gfs2/meta_io.c ngl πŸ‘‘


ok that's the whole page bestie, tiny but mighty. no bugs to warn u about here, just a block and a dream πŸ’«

and finally, the cute lil sign-off: this whole thing lives in ./fs/gfs2, it's dated October 2026, and it's brought to you by gfs2_meta_new(9) β€” periodt. πŸ“πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from