smb2_tree_disconnect(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– smb2_tree_disconnect(9) πŸ’–

okay so bestie, this little page comes from the Kernel API Manual, and the main character is smb2_tree_disconnect(9). We are keeping every technical crumb exactly where it belongs β€” no cap. ✨


🌸 NAME 🌸

smb2_tree_disconnect β€” handler for smb tree connect request.

✨ SYNOPSIS ✨

int smb2_tree_disconnect (struct ksmbd_work *work );

πŸŽ€ ARGUMENTS πŸŽ€

  • work β€” the smb work containing request buffer. That's the whole argument, bestie. 🫢

πŸ” RETURN πŸ”

0 on success, otherwise error. That's it β€” no secret bonus values. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./fs/smb/server/smb2pdu.c β€” yep, that's the kernel file mentioned here. Then the related-function crew, all in their exact (9) glory:


mwah source/version sign-off: this page is stamped from ./fs/smb/server, dated October 2026, and it's the smb2_tree_disconnect(9) moment. πŸ¦‹πŸ’–

πŸ“¦ where this page comes from