diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-11 13:24:24 +0100 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-20 19:08:36 +0100 |
commit | 76dcc26f1d7f1c98c3f595379dcd9562f01bf38d (patch) | |
tree | 98ff38d579542700ef79dd2e0b0f331524e7c1a6 /fs/cifs/cifs_fs_sb.h | |
parent | cifs: remove code for setting timeouts on requests (diff) | |
download | linux-76dcc26f1d7f1c98c3f595379dcd9562f01bf38d.tar.xz linux-76dcc26f1d7f1c98c3f595379dcd9562f01bf38d.zip |
cifs: mangle existing header for SMB_COM_NT_CANCEL
The NT_CANCEL command looks just like the original command, except for a
few small differences. The send_nt_cancel function however currently takes
a tcon, which we don't have in SendReceive and SendReceive2.
Instead of "respinning" the entire header for an NT_CANCEL, just mangle
the existing header by replacing just the fields we need. This means we
don't need a tcon and allows us to call it from other places.
Reviewed-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifs_fs_sb.h')
0 files changed, 0 insertions, 0 deletions