2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00

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>
This commit is contained in:
Philipp Reisner 2011-11-30 23:25:36 +01:00
parent 615e087fbd
commit d10b4ea32b

View File

@ -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;