block: allow queue dma_alignment of zero
authorPete Wyckoff <pw@osc.edu>
Tue, 1 Jan 2008 15:23:02 +0000 (10:23 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 28 Jan 2008 09:04:46 +0000 (10:04 +0100)
Let queue_dma_alignment return 0 if it was specifically set to 0.
This permits devices with no particular alignment restrictions to
use arbitrary user space buffers without copying.

Signed-off-by: Pete Wyckoff <pw@osc.edu>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found