i_gid_into_vfsgid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is i_gid_into_vfsgid(9) from the Kernel API Manual, and it is literally here to map an inode's i_gid down according to an idmapping. that's the whole vibe πŸ’…


πŸ’» SYNOPSIS πŸ’»

vfsgid_t i_gid_into_vfsgid (struct mnt_idmap *idmap , const struct inode
       *inode );

πŸŽ€ ARGUMENTS πŸŽ€

  • idmap β€” the idmap of the mount the inode was found from, periodt ✨
  • inode β€” the inode to map, obviously 🫢

🌸 RETURN 🌸

you get the inode’s i_gid mapped down according to idmap. and if the inode’s i_gid has no mapping, INVALID_VFSGID is returned β€” no cap, that's the rule 😭


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/fs.h and honestly the whole friend group:


okay bye bestie, this page came from ./include/linux and it's dated October 2026 β€” source/version and date noted, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from