diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-11 07:24:24 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-20 18:08:36 +0000 |
commit | 76dcc26f1d7f1c98c3f595379dcd9562f01bf38d (patch) | |
tree | 98ff38d579542700ef79dd2e0b0f331524e7c1a6 /lib/atomic64.c | |
parent | 7749981ec31aa40e28a1ef5687e46bc1aa278fae (diff) | |
download | op-kernel-dev-76dcc26f1d7f1c98c3f595379dcd9562f01bf38d.zip op-kernel-dev-76dcc26f1d7f1c98c3f595379dcd9562f01bf38d.tar.gz |
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 'lib/atomic64.c')
0 files changed, 0 insertions, 0 deletions