Re: [PATCH 5/9] sd: Cleanup sd_done sense data handling

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

 



On Fri, 2017-04-21 at 18:16 +0900, damien.lemoal@xxxxxxx wrote:
> @@ -1884,8 +1886,6 @@ static int sd_done(struct scsi_cmnd *SCpnt)
>  				else {
>  					sdkp->device->no_write_same = 1;
>  					sd_config_write_same(sdkp);
> -
> -					good_bytes = 0;
>  					req->__data_len = blk_rq_bytes(req);
>  					req->rq_flags |= RQF_QUIET;
>  				}

This change looks fine to me but has not been described in the patch
description? Anyway:

Reviewed-by: Bart Van Assche <Bart.VanAssche@xxxxxxxxxxx>



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux