smb2_query_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smb2_query_info β€” kernel API manual, but make it make sense

okay so bestie, welcome to the smb2_query_info(9) page ✨ this is a kernel API manual entry, and it's literally the handler for the smb2 query info command. that's the whole vibe. let's get into it 🫢


✨ NAME ✨

smb2_query_info β€” the handler for the smb2 query info command πŸŽ€

🌸 SYNOPSIS 🌸

int smb2_query_info (struct ksmbd_work *work );

like, that's it. one function, one argument, returns an int. iconic minimalism πŸ’…

πŸ¦‹ ARGUMENTS πŸ¦‹

  • work β€” the smb work that's holding the query info request buffer. it's giving "the whole package deal" β€” the request comes wrapped up in this bad boy πŸ“¦

⭐ RETURN ⭐

0 on success β€” and otherwise, an error. no cap, that's the entire contract 😌

πŸ‘‘ SEE ALSO πŸ‘‘

so like, the kernel file ./fs/smb/server/smb2pdu.c is where the magic lives, and here's the whole friend group you should also go say hi to (yes, all of them, i'm not skipping a single one, we don't do that here πŸ’–):

like, that's the entire roster. read them, love them, link them πŸ”₯


and that's the page bestie!! this one lives over in ./fs/smb/server and it's dated October 2026 β€” so yeah, mark your calendars, this manpage is a whole time traveler πŸ•°οΈβœ¨ mwah, go read some kernel code πŸ’œ

πŸ“¦ where this page comes from