On 12/17/2010 08:38 PM, Jeff Layton wrote: > 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. > > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> > --- > fs/cifs/transport.c | 63 ++++++++++++++++++++++++++++++-------------------- > 1 files changed, 38 insertions(+), 25 deletions(-) > Looks good to me. Reviewed-by: Suresh Jayaraman <sjayaraman@xxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html