drbd: receive_bitmap: Fix the wrong return value
authorAndreas Gruenbacher <agruen@linbit.com>
Fri, 10 Dec 2010 16:09:10 +0000 (17:09 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:36:27 +0000 (11:36 +0100)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c

index 732aacb46a321f8ca7b756f77b78880cd015ab18..44b102d41b4a1cac44708ee088ed62f3e4dbccd8 100644 (file)
@@ -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 {