gfs2_flock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is gfs2_flock(9) from the Kernel API Manual, and it's literally here to acquire/release a flock lock on a file πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int gfs2_flock (struct file *file , int cmd , struct file_lock *fl );

πŸ’… ARGUMENTS πŸ’…

  • file β€” the file pointer, aka the main character file you're locking πŸ’–
  • cmd β€” either modify or retrieve lock state, possibly wait 🫢
  • fl β€” the type and range of lock, no cap πŸ”₯

πŸŽ€ RETURN πŸŽ€

It's giving errno 😭✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./fs/gfs2/file.c β€” and the whole squad is here, bestie:


cute lil sign-off bestie: source/version is ./fs/gfs2, date is October 2026, and the page is gfs2_flock(9) β€” periodt πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from