Skip to content

Commit 6a7cc88

Browse files
author
Jens Axboe
committed
Merge branch 'for-jens' of git://git.drbd.org/linux-2.6-drbd into for-linus
2 parents be1066b + 5c3c7e6 commit 6a7cc88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/block/drbd/drbd_worker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ void drbd_endio_pri(struct bio *bio, int error)
235235
if (unlikely(error)) {
236236
what = (bio_data_dir(bio) == WRITE)
237237
? write_completed_with_error
238-
: (bio_rw(bio) == READA)
238+
: (bio_rw(bio) == READ)
239239
? read_completed_with_error
240240
: read_ahead_completed_with_error;
241241
} else

0 commit comments

Comments
 (0)