commit | 5242fcb706cb47dfa59bececc1bd280f0868901e | [log] [tgz] |
---|---|---|
author | Ronnie Sahlberg <lsahlber@redhat.com> | Mon Apr 15 12:13:52 2019 +1000 |
committer | Steve French <stfrench@microsoft.com> | Tue May 07 23:24:55 2019 -0500 |
tree | b27f291d99c1bfec2e958419f949fc0a61dbf0d8 | |
parent | 4739f2328661d070f93f9bcc8afb2a82706c826d [diff] |
cifs: fix bi-directional fsctl passthrough calls SMB2 Ioctl responses from servers may respond with both the request blob from the client followed by the actual reply blob for ioctls that are bi-directional. In that case we can not assume that the reply blob comes immediately after the ioctl response structure. This fixes FSCTLs such as SMB2:FSCTL_QUERY_ALLOCATED_RANGES Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>