diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2010-12-10 17:09:10 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 11:36:27 +0100 |
commit | 4114be815f9811da42a21dc2f7ff552833660595 (patch) | |
tree | f9f8effcb281ed9c7f03c8b6d35caec7f739a985 /drivers/block | |
parent | f2024e7ce29f4287395ce879364cd68c7ac226f2 (diff) | |
download | kernel_samsung_tuna-4114be815f9811da42a21dc2f7ff552833660595.zip kernel_samsung_tuna-4114be815f9811da42a21dc2f7ff552833660595.tar.gz kernel_samsung_tuna-4114be815f9811da42a21dc2f7ff552833660595.tar.bz2 |
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')
-rw-r--r-- | drivers/block/drbd/drbd_receiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index 732aacb..44b102d 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 { |