mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Merge branch 'master' into for-2.6.31
Conflicts: drivers/block/hd.c drivers/block/mg_disk.c Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
commit
e4b636366c
976 changed files with 23650 additions and 19430 deletions
3
fs/bio.c
3
fs/bio.c
|
|
@ -817,6 +817,9 @@ struct bio *bio_copy_user_iov(struct request_queue *q,
|
|||
len += iov[i].iov_len;
|
||||
}
|
||||
|
||||
if (offset)
|
||||
nr_pages++;
|
||||
|
||||
bmd = bio_alloc_map_data(nr_pages, iov_count, gfp_mask);
|
||||
if (!bmd)
|
||||
return ERR_PTR(-ENOMEM);
|
||||
|
|
|
|||
Loading…
Reference in a new issue