Re: Patch?: linux-2.5.2-pre9/drivers/block/ll_rw_blk.c blk_rq_map_sg simplification

From: Jens Axboe (axboe@suse.de)
Date: Mon Jan 07 2002 - 04:03:35 EST


On Mon, Jan 07 2002, Adam J. Richter wrote:
> Hello Jens,
>
> The following patch removes gotos from blk_rq_map_sg, making
> it more readable and five lines shorter. I think the compiler should
> generate the same code. I have not tested this other than to
> verify that it compiles.

Well, I really think the original is much more readable than the changed
version :-)

> Also, if there is some other way by which you would like
> me to submit future bio patches (if any), please let me know.

This is quite fine.

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:33 EST