Re: [PATCH] block: remove dead queue_dma_alignment branch from bio_map_user_iov()

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

 



On Tue, Jan 04, 2022 at 01:01:58PM +0100, Lukas Bulwahn wrote:
> If queue_dma_alignment(rq->q), then blk_rq_map_user_iov() will call
> bio_copy_user_iov() and not bio_map_user_iov(). So, bio_map_user_iov() does
> not need to handle the queue_dma_alignment(rq->q) case in any special way.
> 
> Remove this dead branch from bio_map_user_iov().

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux