]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: fix list corruption (recent regression)
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 9 Jul 2010 21:28:10 +0000 (23:28 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 16:31:43 +0000 (18:31 +0200)
commitd28fd092a55b504a0d699b65802a995086d70647
tree80071a61faa7e38cd6df6be155dd99e0f455a821
parente756414f7daa93b862f1670dd0a6aaa676ea71e3
drbd: fix list corruption (recent regression)

The commit 288f422ec13667de40b278535d2a5fb5c77352c4
 drbd: Track all IO requests on the TL, not writes only
moved a list_add_tail(req, ) into a region where req
may have just been freed due to conflict detection.

Fix this by adding a proper cleanup section for that code path.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_req.c