cifs: set correct max-buffer-size for smb2_ioctl_init()
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 8 Jan 2020 03:08:07 +0000 (13:08 +1000)
committerSteve French <stfrench@microsoft.com>
Mon, 27 Jan 2020 01:24:16 +0000 (19:24 -0600)
commit731b82bb1750a906c1e7f070aedf5505995ebea7
tree0141e8c00b2db22b0eb079d3af60f2898178bff0
parent37478608f0eb6f232e62791683875a1f557b1b10
cifs: set correct max-buffer-size for smb2_ioctl_init()

Fix two places where we need to adjust down the max response size for
ioctl when it is used together with compounding.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/smb2ops.c