i_uid_into_vfsuid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i_uid_into_vfsuid β€” Kernel API Manual, bestie ✨

okay so picture this: you're deep in Kernel API Manual territory and you need to take an inode's i_uid and map it down according to an idmapping. that's the whole gig. that's the function. let me break it down 🫢


✨ NAME ✨

i_uid_into_vfsuid β€” map an inode's i_uid down according to an idmapping πŸ’–


🌸 SYNOPSIS 🌸

vfsuid_t i_uid_into_vfsuid (struct mnt_idmap *idmap , const struct inode
       *inode );

πŸŽ€ ARGUMENTS πŸŽ€

  • idmap β€” the idmap of the mount that the inode was found from. like, which mount are we even talking about, yknow? that one. πŸ’«
  • inode β€” the inode we're mapping. the little guy in question. 🌟

πŸ¦‹ RETURN πŸ¦‹

you get back the inode's i_uid mapped down according to idmap. slay. πŸ’…

but listen β€” if the inode's i_uid has no mapping, you get INVALID_VFSUID back instead. no cap, that's the failure mode, so handle it bestie 😭

🌈 SEE ALSO 🌈

all of these live in the kernel file ./include/linux/fs.h, and honestly it's giving main character energy, so here's the whole squad in order πŸ‘‘:


okay that's the whole page, you ate that πŸ“ this one comes to you straight from ./include/linux, dated October 2026, and it's filed under i_uid_into_vfsuid(9) β€” go forth and map responsibly, ily πŸ’œβœ¨

πŸ“¦ where this page comes from