aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_receiver.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-11-30 17:25:36 -0500
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 10:58:10 -0500
commitd10b4ea32bf2b77a3d56a20992cd549978df7b38 (patch)
tree2232db150857cd6d5d7f33967d8955475051e599 /drivers/block/drbd/drbd_receiver.c
parent615e087fbd7483fafa28c8a1a4d1656251e0604d (diff)
drbd: Get rid of "ASSERTION FAILED: tconn->current_epoch->list not empty"
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_receiver.c')
-rw-r--r--drivers/block/drbd/drbd_receiver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c
index 9c888e5b648f..e546dd3fab8a 100644
--- a/drivers/block/drbd/drbd_receiver.c
+++ b/drivers/block/drbd/drbd_receiver.c
@@ -4440,6 +4440,11 @@ static int drbd_disconnected(struct drbd_conf *mdev)
4440 4440
4441 drbd_finish_peer_reqs(mdev); 4441 drbd_finish_peer_reqs(mdev);
4442 4442
4443 /* This second workqueue flush is necessary, since drbd_finish_peer_reqs()
4444 might have issued a work again. The one before drbd_finish_peer_reqs() is
4445 necessary to reclain net_ee in drbd_finish_peer_reqs(). */
4446 drbd_flush_workqueue(mdev);
4447
4443 kfree(mdev->p_uuid); 4448 kfree(mdev->p_uuid);
4444 mdev->p_uuid = NULL; 4449 mdev->p_uuid = NULL;
4445 4450