fs_context_for_submount(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to fs_context_for_submount(9) from the Kernel API Manual β€” yes, that's the manual name, and yes, we're getting into it πŸ’…βœ¨

✨ NAME ✨

fs_context_for_submount β€” allocate a new fs_context for a submount. that's the whole name situation, and it's literally exactly what it sounds like 🫢

🌸 SYNOPSIS 🌸

struct fs_context * fs_context_for_submount (struct file_system_type
*type , struct dentry *reference );

πŸŽ€ ARGUMENTS πŸŽ€

  • type β€” file_system_type of the new context. it's giving "blueprint for the new context" energy πŸ’…
  • reference β€” reference dentry from which to copy relevant info. this is the reference dentry, and the relevant info gets copied from it, no cap πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

okay so here's the vibe: this one allocates a new fs_context that's suitable for a submount. slay, iconic, periodt ✨

it also ensures that the fc->security object is inherited from reference β€” but only if needed, bestie. that's the important little detail, don't skip it πŸ’œ

πŸ‘‘ SEE ALSO πŸ‘‘

like, go read these too, iykyk 🌈


okay that's the page bestie! source/version: ./fs; date: October 2026; page: fs_context_for_submount(9) β€” mwah, signing off πŸ’‹πŸŽ€

πŸ“¦ where this page comes from