diff options
author | Steve French <smfrench@gmail.com> | 2013-06-25 07:20:49 +0200 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-27 00:31:29 +0200 |
commit | 4a72dafa19ba77a2fb77ae676f8e3a0d6077c37c (patch) | |
tree | 036805a2dd4080dd833fdfa41a79e18562fd5042 /fs/super.c | |
parent | Charge at least one credit, if server says that it supports multicredit (diff) | |
download | linux-4a72dafa19ba77a2fb77ae676f8e3a0d6077c37c.tar.xz linux-4a72dafa19ba77a2fb77ae676f8e3a0d6077c37c.zip |
SMB2 FSCTL and IOCTL worker function
This worker function is needed to send SMB2 fsctl
(and ioctl) requests including:
validating negotiation info (secure negotiate)
querying the servers network interfaces
copy offload (refcopy)
Followon patches for the above three will use this.
This patch also does general validation of the response.
In the future, as David Disseldorp notes, for the copychunk ioctl
case, we will want to enhance the response processing to allow
returning the chunk request limits to the caller (even
though the server returns an error, in that case we would
return data that the caller could use - see 2.2.32.1).
See MS-SMB2 Section 2.2.31 for more details on format of fsctl.
Acked-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions