Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277031
b: refs/heads/master
c: 609f6ea
h: refs/heads/master
i:
  277029: 362a2f1
  277027: 31b196c
  277023: 052297a
v: v3
  • Loading branch information
majianpeng authored and Jens Axboe committed Dec 21, 2011
1 parent d98a71d commit 823290f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 6ae0516b8a50ece5d766be608a305707e0450060
refs/heads/master: 609f6ea1c9cdfe0c43a927e13205a57d0c266d5a
2 changes: 1 addition & 1 deletion trunk/block/blk-map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 823290f

Please sign in to comment.