projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: manipulate bio->bi_flags through helpers
[linux-block.git]
/
block
/
blk-merge.c
diff --git
a/block/blk-merge.c
b/block/blk-merge.c
index 30a0d9f890170b7540546557b950713b8e372780..a455b9860143c8ee8e2ceb635cea053e3735665c 100644
(file)
--- a/
block/blk-merge.c
+++ b/
block/blk-merge.c
@@
-116,7
+116,7
@@
void blk_recount_segments(struct request_queue *q, struct bio *bio)
bio->bi_next = nxt;
}
- bio
->bi_flags |= (1 <<
BIO_SEG_VALID);
+ bio
_set_flag(bio,
BIO_SEG_VALID);
}
EXPORT_SYMBOL(blk_recount_segments);