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)
commit482eb689169948e9f4966fbae6be4d6bc0bfa818
tree93f2e9915b34192a92442fbf800d3a9b47819909
parent6da127ad0918f93ea93678dad62ce15ffed18797
block: allow queue dma_alignment of zero

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>
include/linux/blkdev.h