提交 d10b4ea3 编写于 作者: P Philipp Reisner

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

Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
上级 615e087f
...@@ -4440,6 +4440,11 @@ static int drbd_disconnected(struct drbd_conf *mdev) ...@@ -4440,6 +4440,11 @@ static int drbd_disconnected(struct drbd_conf *mdev)
drbd_finish_peer_reqs(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); kfree(mdev->p_uuid);
mdev->p_uuid = NULL; mdev->p_uuid = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册