Browse Source

Merge branch 'for-jens' of git://git.drbd.org/linux-2.6-drbd into for-linus

Jens Axboe 15 years ago
parent
commit
6a7cc883d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/block/drbd/drbd_worker.c

+ 1 - 1
drivers/block/drbd/drbd_worker.c

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