Re: Potentially broken error path in bio_map_user_iov()

From: Lukas Bulwahn
Date: Tue Jan 04 2022 - 07:05:05 EST


On Mon, Jan 3, 2022 at 5:35 PM Christoph Hellwig <hch@xxxxxx> wrote:
>
> Hi Lukas,
>
> we can just remove the queue_dma_alignment check entirely, the caller
> already ensures bio_copy_user_iov is called instead of this case.

Okay, I have sent you a patch to do so:

https://lore.kernel.org/all/20220104120158.20177-1-lukas.bulwahn@xxxxxxxxx/

Feel free to pick it, reword it, rework it or ignore it.

Lukas