smb: client: make smb2_compound_op() return resp buffer on success
authorPaulo Alcantara <pc@manguebit.com>
Thu, 17 Aug 2023 15:34:02 +0000 (12:34 -0300)
committerSteve French <stfrench@microsoft.com>
Sun, 20 Aug 2023 21:05:50 +0000 (16:05 -0500)
commitc5f44a3d5477123094ffa9c2113786feb93445b7
tree4b1d958e895241f26c9d186f132a122f30d8ae31
parent8b4e285d8ce3c6cb8d3732a35a39bc8613d93321
smb: client: make smb2_compound_op() return resp buffer on success

If @out_iov and @out_buftype are passed, then return compounded
responses regardless whether the request failed or not.  This will be
useful for detecting reparse points on SMB2_CREATE responses as
specified in MS-SMB2 2.2.14.

No functional changes.

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