|
@@ -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
|