diff options
Diffstat (limited to 'fs/bio.c')
-rw-r--r-- | fs/bio.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -622,10 +622,9 @@ static struct bio *__bio_map_user_iov(request_queue_t *q, | |||
622 | 622 | ||
623 | nr_pages += end - start; | 623 | nr_pages += end - start; |
624 | /* | 624 | /* |
625 | * transfer and buffer must be aligned to at least hardsector | 625 | * buffer must be aligned to at least hardsector size for now |
626 | * size for now, in the future we can relax this restriction | ||
627 | */ | 626 | */ |
628 | if ((uaddr & queue_dma_alignment(q)) || (len & queue_dma_alignment(q))) | 627 | if (uaddr & queue_dma_alignment(q)) |
629 | return ERR_PTR(-EINVAL); | 628 | return ERR_PTR(-EINVAL); |
630 | } | 629 | } |
631 | 630 | ||