From: Kevin Corry <kevcorry@us.ibm.com>
To: Andrew Morton <akpm@osdl.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] DM 3/5: Fix error cleanup in dm_create_persistent()
Date: Wed, 9 Jun 2004 10:31:52 +0000 [thread overview]
Message-ID: <200406091031.52249.kevcorry@us.ibm.com> (raw)
dm-exception-store.c: Fix error cleanup in dm_create_persistent().
This was originally found by chrisw during code review.
From: Dave Olien <dmo@osdl.org>
Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
--- diff/drivers/md/dm-exception-store.c 2004-06-09 08:47:09.210467016 +0000
+++ source/drivers/md/dm-exception-store.c 2004-06-09 08:49:14.167470664 +0000
@@ -569,8 +569,8 @@
bad:
dm_io_put(sectors_to_pages(chunk_size));
if (ps) {
- if (ps->callbacks)
- vfree(ps->callbacks);
+ if (ps->area)
+ free_area(ps);
kfree(ps);
}
reply other threads:[~2004-06-09 15:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200406091031.52249.kevcorry@us.ibm.com \
--to=kevcorry@us.ibm.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®