ksmbd_vfs_c...urable_owner(9)
π ksmbd_vfs_compare_durable_owner(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're in that part of the kernel, the SMB server corner, and this little function is doing the important "wait, is this actually you?" check π΅οΈββοΈβ¨
β¨ NAME β¨
ksmbd_vfs_compare_durable_owner β the vibe check that verifies if the requester is the original owner π (like, the actual main character, not some impostor)
πΈ SYNOPSIS πΈ
bool ksmbd_vfs_compare_durable_owner (struct ksmbd_file *fp , struct ksmbd_user *user );
π ARGUMENTS π
fpβ existingksmbd_filepointer πΎ the file you already have, the one holding the original owner infouserβ user pointer of the reconnect requester π«Ά like, whoever is knocking on the door trying to reconnect
π¦ DESCRIPTION π¦
So what it does: it compares the UID, GID, and name of the current requester against the original owner stored in the file handle. That's the whole thing. Three little checks, one big "are you fr the same person" moment ππ
π₯ RETURN π₯
true if the user matches, false otherwise β¨ simple as that, no cap
π SEE ALSO π
- Kernel file
./fs/smb/server/vfs_cache.cπ ksmbd_close_disconnected_durable_delete_on_close(9)ksmbd_update_fstate(9)
and that's the page, bestie!! π this icon was living in ./fs/smb/server, dated October 2026, going out with all the love in the Kernel API Manual π«Άπ see u in the next manpage, mwah π
π¦ 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