ksmbd_conn_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ ksmbd_conn_get(9) β€” NAME πŸ¦‹

okay bestie, this is ksmbd_conn_get(9), straight out of the Kernel API Manual ✨ and it's about one thing: take a reference on @conn and return it. That's the whole vibe. πŸ’…

🌸 SYNOPSIS 🌸

struct ksmbd_conn * ksmbd_conn_get (struct ksmbd_conn *conn );

πŸŽ€ ARGUMENTS πŸŽ€

  • conn β€” connection instance to get a reference to 🫢

πŸ’– DESCRIPTION πŸ’–

It hands conn right back to you, unchanged β€” like, no glow-up, no edits, just the same pointer. This is so callers can write this in one expression:

fp->conn = ksmbd_conn_get(work->conn);

And if conn is NULL? It returns NULL. That's it. Iconic, lowkey. πŸ¦‹

⭐ SEE ALSO ⭐


mwah πŸ’‹ this cutie came from ./fs/smb/server, dated October 2026, and the page is ksmbd_conn_get(9) β€” no cap, that's the whole footer vibe πŸŽ€

πŸ“¦ where this page comes from