From: Jeff Layton Date: Tue, 11 Jan 2011 12:24:24 +0000 (-0500) Subject: cifs: mangle existing header for SMB_COM_NT_CANCEL X-Git-Tag: v2.6.38-rc2~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76dcc26f1d7f1c98c3f595379dcd9562f01bf38d;p=pandora-kernel.git 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 Reviewed-by: Suresh Jayaraman Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed