diff --git a/[refs] b/[refs] index 48f1c80ddd0a..c044b58c7ab5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: be1c63411addba3ad750eb4fdfc50b97bc82825e +refs/heads/master: ad2d7225709b11da47e092634cbdf0591829ae9c diff --git a/trunk/fs/bio.c b/trunk/fs/bio.c index f95c8749499f..d91cfbf7ebc4 100644 --- a/trunk/fs/bio.c +++ b/trunk/fs/bio.c @@ -622,10 +622,9 @@ static struct bio *__bio_map_user_iov(request_queue_t *q, nr_pages += end - start; /* - * transfer and buffer must be aligned to at least hardsector - * size for now, in the future we can relax this restriction + * buffer must be aligned to at least hardsector size for now */ - if ((uaddr & queue_dma_alignment(q)) || (len & queue_dma_alignment(q))) + if (uaddr & queue_dma_alignment(q)) return ERR_PTR(-EINVAL); }