Re: [PATCH 17/18] cifs: mangle existing header for SMB_COM_NT_CANCEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux