dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Andreas Gruenbacher 2010-12-10 17:09:10 +01:00 committed by Philipp Reisner
parent f2024e7ce2
commit 4114be815f
1 changed files with 1 additions and 1 deletions

View 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 {