[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] [patch 12/24] dm snapshot: fix freeing pending exception
- From: Chris Wright <chrisw sous-sol org>
- To: linux-kernel vger kernel org, stable kernel org
- Cc: akpm osdl org, Theodore Ts'o <tytso mit edu>, Zwane Mwaikambo <zwane arm linux org uk>, device-mapper development <dm-devel redhat com>, Justin Forbes <jmforbes linuxtx org>, torvalds osdl org, Chris Wedgwood <reviews ml cw f00f org>, Randy Dunlap <rdunlap xenotime net>, Michael Krufky <mkrufky linuxtv org>, Alasdair G Kergon <agk redhat com>, Dave Jones <davej redhat com>, Chuck Wolber <chuckw quantumlinux com>, alan lxorguk ukuu org uk
- Subject: [dm-devel] [patch 12/24] dm snapshot: fix freeing pending exception
- Date: Thu, 14 Dec 2006 17:33:49 -0800
2.6.18-stable review patch. If anyone has any objections, please let us know.
------------------
From: Milan Broz <mbroz redhat com>
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.
Signed-off-by: Milan Broz <mbroz redhat com>
Signed-off-by: Chris Wright <chrisw sous-sol org>
---
drivers/md/dm-snap.c | 1 +
1 file changed, 1 insertion(+)
--- linux-2.6.18.5.orig/drivers/md/dm-snap.c
+++ linux-2.6.18.5/drivers/md/dm-snap.c
@@ -691,6 +691,7 @@ static void pending_complete(struct pend
free_exception(e);
+ remove_exception(&pe->e);
error_snapshot_bios(pe);
goto out;
}
--
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]