Skip to content

Commit

Permalink
drbd: remove bogus ASSERT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed May 17, 2010
1 parent e0f8301 commit 8d1894e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/block/drbd/drbd_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 8d1894e

Please sign in to comment.