Skip to content

Commit

Permalink
Merge branch 'for-jens' of git://git.drbd.org/linux-2.6-drbd into for…
Browse files Browse the repository at this point in the history
…-linus
  • Loading branch information
Jens Axboe committed May 4, 2010
2 parents be1066b + 5c3c7e6 commit 6a7cc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/drbd/drbd_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void drbd_endio_pri(struct bio *bio, int error)
if (unlikely(error)) {
what = (bio_data_dir(bio) == WRITE)
? write_completed_with_error
: (bio_rw(bio) == READA)
: (bio_rw(bio) == READ)
? read_completed_with_error
: read_ahead_completed_with_error;
} else
Expand Down

0 comments on commit 6a7cc88

Please sign in to comment.