Commit d10b4ea3 authored by Philipp Reisner's avatar Philipp Reisner

drbd: Get rid of "ASSERTION FAILED: tconn->current_epoch->list not empty"

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
parent 615e087f
......@@ -4440,6 +4440,11 @@ static int drbd_disconnected(struct drbd_conf *mdev)
drbd_finish_peer_reqs(mdev);
/* This second workqueue flush is necessary, since drbd_finish_peer_reqs()
might have issued a work again. The one before drbd_finish_peer_reqs() is
necessary to reclain net_ee in drbd_finish_peer_reqs(). */
drbd_flush_workqueue(mdev);
kfree(mdev->p_uuid);
mdev->p_uuid = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment