From: Lars Ellenberg Date: Thu, 1 Apr 2010 14:55:18 +0000 (+0200) Subject: drbd: remove bogus ASSERT X-Git-Tag: v2.6.35-rc1~442^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d1894ebe441093cfd967affcbc56b764960575e;p=profile%2Fcommon%2Fkernel-common.git drbd: remove bogus ASSERT block_id may be ID_SYNCER, as well as checksum based resync request magic, or online verify magic. Let's just drop that ASSERT. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index c786023..93106fb 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c @@ -4233,7 +4233,6 @@ static int got_NegRSDReply(struct drbd_conf *mdev, struct p_header *h) sector = be64_to_cpu(p->sector); size = be32_to_cpu(p->blksize); - D_ASSERT(p->block_id == ID_SYNCER); update_peer_seq(mdev, be32_to_cpu(p->seq_num));