summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-07 21:07:20 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-07 21:07:20 (GMT)
commit48fe37cb53a40e13c2f9fc974f574e38d18be303 (patch)
tree688851f7b8bb6ca87bb021a23213bbdb46cc9719 /drivers
parente33b3e7567f8636c61e79ff1da5ff9a6cf6562c7 (diff)
parent0341509fdfc9519f7de6aabc5dd23217cef72b73 (diff)
downloadlinux-48fe37cb53a40e13c2f9fc974f574e38d18be303.tar.xz
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block: blk-cgroup: Fix an RCU warning in blkiocg_create() blk-cgroup: Fix RCU correctness warning in cfq_init_queue() drbd: don't expose failed local READ to upper layers
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/drbd/drbd_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c
index 44bf6d1..d48a1df 100644
--- a/drivers/block/drbd/drbd_worker.c
+++ b/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