projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
511d37a
)
block: fixup missing conversion from BIO_RW_DISCARD to REQ_DISCARD
author
Jens Axboe
<jaxboe@fusionio.com>
Tue, 29 Jun 2010 11:33:38 +0000
(13:33 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:23:41 +0000
(18:23 +0200)
Didn't cause a merge conflict, so fixed this one up manually
post merge.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index 3531d8e1da0485f3e8d3fc3757f32e2964b8fa41..3c3789492c1033c43dc9acf693f486d7ff3e8027 100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-1598,7
+1598,7
@@
void submit_bio(int rw, struct bio *bio)
* If it's a regular read/write or a barrier with data attached,
* go through the normal accounting stuff before submission.
*/
- if (bio_has_data(bio) && !(rw &
(1 << BIO_RW_DISCARD)
)) {
+ if (bio_has_data(bio) && !(rw &
REQ_DISCARD
)) {
if (rw & WRITE) {
count_vm_events(PGPGOUT, count);
} else {