Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41148
b: refs/heads/master
c: ad2d722
h: refs/heads/master
v: v3
  • Loading branch information
Mike Christie authored and Jens Axboe committed Dec 1, 2006
1 parent 35572f3 commit 11ca894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: be1c63411addba3ad750eb4fdfc50b97bc82825e
refs/heads/master: ad2d7225709b11da47e092634cbdf0591829ae9c
5 changes: 2 additions & 3 deletions trunk/fs/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 11ca894

Please sign in to comment.