Re: [PATCH 4/5] sd: Remove superfluous residual assignments

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

 



On Fri, Feb 08, 2019 at 01:25:02PM -0800, Bart Van Assche wrote:
> Since commit 26e85fcd15f6 ("[SCSI] sd: Permit merged discard requests";
> kernel v3.10) sd_done() sets the residual not only for failed special
> requests but also for special requests that succeeded. Hence remove the
> code from functions called by sd_init_command() that sets the residual.
> This patch does not change any functionality.
> 
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>



[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