projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block, fs, mm, drivers: use bio set/get op accessors
[cascardo/linux.git]
/
block
/
blk-map.c
diff --git
a/block/blk-map.c
b/block/blk-map.c
index
b9f88b7
..
61733a6
100644
(file)
--- a/
block/blk-map.c
+++ b/
block/blk-map.c
@@
-224,7
+224,7
@@
int blk_rq_map_kern(struct request_queue *q, struct request *rq, void *kbuf,
return PTR_ERR(bio);
if (!reading)
- bio
->bi_rw |= REQ_WRITE
;
+ bio
_set_op_attrs(bio, REQ_OP_WRITE, 0)
;
if (do_copy)
rq->cmd_flags |= REQ_COPY_USER;