smb2_flush(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

smb2_flush(9) β€” Kernel API Manual energy ✨

hey bestie, welcome to the smb2_flush(9) page from the Kernel API Manual. This one is short, cute, and extremely on brand: it’s the handler for smb2 flush file - fsync. πŸ’…

πŸ’– NAME πŸ’–

smb2_flush β€” handler for smb2 flush file - fsync.

That’s literally the whole name. She handles the smb2 flush file, and yes, fsync is right there in the description, periodt.

🌸 SYNOPSIS 🌸

int smb2_flush (struct ksmbd_work *work );

No cap, that’s the signature. One struct ksmbd_work * and we’re out. ✨

πŸ¦‹ ARGUMENTS πŸ¦‹

  • work β€” smb work containing flush command buffer. That’s the one thing you pass in, bestie.

πŸ’œ RETURN πŸ’œ

  • 0 on success, otherwise error.

Zero means slay. Anything else means something went nope. 😭

πŸŽ€ SEE ALSO πŸŽ€

The page points at the kernel file ./fs/smb/server/smb2pdu.c, and then it name-drops the whole squad. Full roll call, because nobody gets left on read:


okay that’s the page πŸ’– source/version says ./fs/smb/server, date says October 2026, and the manual name is still smb2_flush(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from