smb: client: extend smb2_compound_op() to accept more commands
authorPaulo Alcantara <pc@manguebit.com>
Sun, 26 Nov 2023 02:55:02 +0000 (23:55 -0300)
committerSteve French <stfrench@microsoft.com>
Sun, 7 Jan 2024 21:46:05 +0000 (15:46 -0600)
commit3322960ce222997b1663ffa69e691b2edfec4ac9
tree68dfa762b7f2702ad9cd2c1a7e371114d939399c
parent0108ce08aed195d200ffbad74c1948bbaefe6625
smb: client: extend smb2_compound_op() to accept more commands

Make smb2_compound_op() accept up to MAX_COMPOUND(5) commands to be
sent over a single compounded request.

This will allow next commits to read and write reparse files through a
single roundtrip to the server.

Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsglob.h
fs/smb/client/smb2inode.c