drbd: remove bogus ASSERT
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 1 Apr 2010 14:55:18 +0000 (16:55 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 May 2010 23:06:59 +0000 (01:06 +0200)
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 <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c

index c786023001d20bca651b8a6672b58b36f2f22d80..93106fb92be82605d558605445ec212dd46ef83f 100644 (file)
@@ -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));