projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/smpboot: Init apic mapping before usage
[cascardo/linux.git]
/
drivers
/
md
/
dm-era-target.c
diff --git
a/drivers/md/dm-era-target.c
b/drivers/md/dm-era-target.c
index
2faf49d
..
bf2b267
100644
(file)
--- a/
drivers/md/dm-era-target.c
+++ b/
drivers/md/dm-era-target.c
@@
-1542,7
+1542,7
@@
static int era_map(struct dm_target *ti, struct bio *bio)
/*
* REQ_PREFLUSH bios carry no data, so we're not interested in them.
*/
- if (!(bio->bi_
rw
& REQ_PREFLUSH) &&
+ if (!(bio->bi_
opf
& REQ_PREFLUSH) &&
(bio_data_dir(bio) == WRITE) &&
!metadata_current_marked(era->md, block)) {
defer_bio(era, bio);