mnt_idmap_put(9)
π mnt_idmap_put(9) π
Okay so bestie, welcome to mnt_idmap_put(9) from the Kernel API Manual β yes, that's the manual name, and we're about to make idmapping reference-counting make sense. π«Ά
β¨ NAME β¨
mnt_idmap_put β put a reference to an idmapping π
πΈ SYNOPSIS πΈ
void mnt_idmap_put (struct mnt_idmap *idmap );
π ARGUMENTS π
idmapβ the idmap to put the reference on. That's the one, bestie. π
π¦ DESCRIPTION π¦
If this is a non-initial idmapping, put the reference count when a mount is released and free it if we're the last user.
Translation for the group chat: when a mount gets released, you drop the reference count on that idmap β but only if it's a non-initial idmapping β and if we're the last user, it gets freed. Slay. β¨
π SEE ALSO π
Kernel file ./fs/mnt_idmapping.c β plus the whole friend group: initial_idmapping(9), make_vfsuid(9), make_vfsgid(9), from_vfsuid(9), from_vfsgid(9), vfsgid_in_group_p(9), mnt_idmap_get(9). π
That's the whole vibe! Cute little sign-off: this page comes from ./fs, dated October 2026, and it's literally mnt_idmap_put(9). Bye bestie! π
β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms