From: zkabelac@sourceware.org <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/lib/thin thin.c
Date: 3 Nov 2011 14:37:24 -0000 [thread overview]
Message-ID: <20111103143724.16841.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-11-03 14:37:24
Modified files:
lib/thin : thin.c
Log message:
Thin clean using delete_id consitently
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/thin/thin.c.diff?cvsroot=lvm2&r1=1.27&r2=1.28
--- LVM2/lib/thin/thin.c 2011/10/30 22:00:58 1.27
+++ LVM2/lib/thin/thin.c 2011/11/03 14:37:23 1.28
@@ -49,7 +49,7 @@
{
const char *lv_name = NULL;
struct logical_volume *lv = NULL;
- uint32_t device_id = 0;
+ uint32_t delete_id = 0;
dm_thin_message_t type;
/* Message must have only one from: create, trim, delete */
@@ -70,7 +70,7 @@
type = DM_THIN_MESSAGE_TRIM;
}
- if (!dm_config_get_uint32(sn, "delete", &device_id)) {
+ if (!dm_config_get_uint32(sn, "delete", &delete_id)) {
if (!lv)
return SEG_LOG_ERROR("Unknown message in");
} else {
@@ -79,7 +79,7 @@
type = DM_THIN_MESSAGE_DELETE;
}
- if (!attach_pool_message(seg, type, lv, device_id, 1))
+ if (!attach_pool_message(seg, type, lv, delete_id, 1))
return_0;
return 1;
next reply other threads:[~2011-11-03 14:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 14:37 zkabelac [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-01-19 15:42 LVM2/lib/thin thin.c zkabelac
2011-12-21 12:56 zkabelac
2011-10-28 20:25 zkabelac
2011-10-22 16:45 zkabelac
2011-10-20 10:32 zkabelac
2011-10-20 10:30 zkabelac
2011-10-17 14:17 zkabelac
2011-10-11 8:51 zkabelac
2011-10-06 11:06 zkabelac
2011-09-06 22:35 zkabelac
2011-09-01 10:16 zkabelac
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=20111103143724.16841.qmail@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.