aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_receiver.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2010-12-10 17:09:10 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-03-10 11:36:27 +0100
commit4114be815f9811da42a21dc2f7ff552833660595 (patch)
treef9f8effcb281ed9c7f03c8b6d35caec7f739a985 /drivers/block/drbd/drbd_receiver.c
parentf2024e7ce29f4287395ce879364cd68c7ac226f2 (diff)
downloadkernel_samsung_smdk4412-4114be815f9811da42a21dc2f7ff552833660595.tar.gz
kernel_samsung_smdk4412-4114be815f9811da42a21dc2f7ff552833660595.tar.bz2
kernel_samsung_smdk4412-4114be815f9811da42a21dc2f7ff552833660595.zip
drbd: receive_bitmap: Fix the wrong return value
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_receiver.c')
-rw-r--r--drivers/block/drbd/drbd_receiver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c
index 732aacb46a3..44b102d41b4 100644
--- a/drivers/block/drbd/drbd_receiver.c
+++ b/drivers/block/drbd/drbd_receiver.c
@@ -3499,7 +3499,7 @@ static int receive_bitmap(struct drbd_conf *mdev, enum drbd_packets cmd, unsigne
goto out;
if (data_size <= (sizeof(*p) - sizeof(p->head))) {
dev_err(DEV, "ReportCBitmap packet too small (l:%u)\n", data_size);
- return FAILED;
+ return false;
}
ret = decode_bitmap_c(mdev, p, &c);
} else {