dm snapshot: fix freeing pending exception
PATCH 1/1 dm snapshot: fix freeing pending exception
Fix oops when removing full snapshot
kernel bugzilla bug 7040
If a snapshot became invalid (full) while there is outstanding pending_exception, pending_complete() forgets to remove
the corresponding exception from its exception table before freeing it.
Already fixed in 2.6.19.
drivers/md/dm-snap.c +1 -0
@@ -691,6 +691,7 @@ static void pending_complete(struct pendfree_exception (e); +remove_exception (&pe->e);error_snapshot_bios (pe); goto out; }
patch dm-snapshot-fix-freeing-pending-exception.patch queued to 2.6.18-stable tree
This is a note to let you know that we have just queued up the patch titled
Subject: dm snapshot: fix freeing pending exception
to the 2.6.18-stable tree. Its filename is
dm-snapshot-fix-freeing-pending-exception.patch
A git repo of this tree can be found at
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary