Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288327
b: refs/heads/master
c: 1212268
h: refs/heads/master
i:
  288325: 090791c
  288323: 6df0726
  288319: 7f8245b
v: v3
  • Loading branch information
Mike Snitzer authored and Alasdair G Kergon committed Mar 7, 2012
1 parent 708e55c commit 9d2c61f
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: 0c535e0d6f463365c29623350dbd91642363c39b
refs/heads/master: 1212268fd9816e3b8801e57b896fceaec71969ad
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm-flakey.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ static int flakey_end_io(struct dm_target *ti, struct bio *bio,
* Corrupt successful READs while in down state.
* If flags were specified, only corrupt those that match.
*/
if (!error && bio_submitted_while_down &&
if (fc->corrupt_bio_byte && !error && bio_submitted_while_down &&
(bio_data_dir(bio) == READ) && (fc->corrupt_bio_rw == READ) &&
all_corrupt_bio_flags_match(bio, fc))
corrupt_bio_data(bio, fc);
Expand Down

0 comments on commit 9d2c61f

Please sign in to comment.