diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-04-01 10:55:18 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-05-17 19:06:59 -0400 |
commit | 8d1894ebe441093cfd967affcbc56b764960575e (patch) | |
tree | 9dc8e3ea79f683502b712c8dea92cb67077576fa /drivers/block/drbd | |
parent | e0f83012dc510b0be92ee2d59227a573a36777b8 (diff) |
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 <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd')
-rw-r--r-- | drivers/block/drbd/drbd_receiver.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index c786023001d2..93106fb92be8 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) | |||
4233 | 4233 | ||
4234 | sector = be64_to_cpu(p->sector); | 4234 | sector = be64_to_cpu(p->sector); |
4235 | size = be32_to_cpu(p->blksize); | 4235 | size = be32_to_cpu(p->blksize); |
4236 | D_ASSERT(p->block_id == ID_SYNCER); | ||
4237 | 4236 | ||
4238 | update_peer_seq(mdev, be32_to_cpu(p->seq_num)); | 4237 | update_peer_seq(mdev, be32_to_cpu(p->seq_num)); |
4239 | 4238 | ||