diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-11 12:24:24 (GMT) |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-20 18:08:36 (GMT) |
commit | 76dcc26f1d7f1c98c3f595379dcd9562f01bf38d (patch) | |
tree | 98ff38d579542700ef79dd2e0b0f331524e7c1a6 /fs/cifs/xattr.c | |
parent | 7749981ec31aa40e28a1ef5687e46bc1aa278fae (diff) | |
download | linux-76dcc26f1d7f1c98c3f595379dcd9562f01bf38d.tar.xz |
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/xattr.c')
0 files changed, 0 insertions, 0 deletions