set_smb1_rsp_status(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ set_smb1_rsp_status(9) πŸ¦‹

welcome to the Kernel API Manual, bestie β€” this page is literally a tiny kernel function with main-character energy πŸ’…. It's short, it's specific, and it does exactly one job: set the error type in the smb response header. No cap.


🌸 NAME 🌸

set_smb1_rsp_status - set error type in smb response header

okay so that's the whole name/description combo. We're setting the error type in the smb response header, and that's the vibe. 🫢

✨ SYNOPSIS ✨

void set_smb1_rsp_status (struct ksmbd_work *work , __le32 err );

the synopsis said void, so it returns nothing, and it takes work plus err. slay. ✨

πŸ’– ARGUMENTS πŸ’–

  • work β€” smb work containing smb response header
  • err β€” error code to set in response

two arguments, both iconic, both doing their little part 🫢. The work one carries the smb work containing smb response header, and err is the error code to set in response. periodt πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./fs/smb/server/smb_common.c

go read these when you're in your kernel-coded era, iykyk ✨


made with πŸ’œ from the ./fs/smb/server corner of the universe, dated October 2026 β€” k bye bestie 🫢

πŸ“¦ where this page comes from