smb/server: introduce struct ksmbd_transport_write

Put the arguments of ksmbd_transport_ops ->writev() into a struct.
This makes the function call shorter and easier to read.

Add __ksmbd_conn_write() for the common write code. A later patch will use
it for another write helper.

No functional change.

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
ChenXiaoSong 2026-07-08 02:56:14 +00:00 • committed by Namjae Jeon
commit 0977715850
4 changed files with 38 additions and 19 deletions