projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arch/unicore32/kernel/early_printk.c:setup_early_printk: missing initialization
[deliverable/linux.git]
/
block
/
blk-map.c
diff --git
a/block/blk-map.c
b/block/blk-map.c
index 164cd0059706214e53c01b780b353fca98d9b829..623e1cd4cffe997e71fbb54577bd42f220af64b3 100644
(file)
--- a/
block/blk-map.c
+++ b/
block/blk-map.c
@@
-311,7
+311,7
@@
int blk_rq_map_kern(struct request_queue *q, struct request *rq, void *kbuf,
if (IS_ERR(bio))
return PTR_ERR(bio);
- if (
rq_data_dir(rq) == WRITE
)
+ if (
!reading
)
bio->bi_rw |= REQ_WRITE;
if (do_copy)
This page took
0.023724 seconds
and
5
git commands to generate.