]> git.neil.brown.name Git - history.git/commit
[PATCH] dm.c: free cloned bio on error path
authorAndrew Morton <akpm@osdl.org>
Sat, 29 May 2004 03:57:09 +0000 (20:57 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 29 May 2004 03:57:09 +0000 (20:57 -0700)
commit0f76498d7ed6e0cf773e00937d000dd0749a31fe
treee949ea89fb2250d403494fe37c208904b72086b3
parentc1d91a0db5267c06bddeec33bce7bb379a0b36cb
[PATCH] dm.c: free cloned bio on error path

From: Kevin Corry <kevcorry@us.ibm.com>

In __map_bio(), if the target returns an error while mapping the I/O, the
cloned bio needs to be freed.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm.c