ksmbd_vfs_c...urable_owner(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” existing ksmbd_file pointer πŸ’Ύ the file you already have, the one holding the original owner info
  • user β€” 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 🌈


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