public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: agk@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/tools pvchange.c Date: Thu, 31 Jul 2008 12:40:00 -0000 [thread overview] Message-ID: <20080731124052.17162.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: agk@sourceware.org 2008-07-31 12:40:52 Modified files: tools : pvchange.c Log message: remove unused mdas variable Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/pvchange.c.diff?cvsroot=lvm2&r1=1.61&r2=1.62 --- LVM2/tools/pvchange.c 2008/07/31 12:28:51 1.61 +++ LVM2/tools/pvchange.c 2008/07/31 12:40:52 1.62 @@ -23,7 +23,6 @@ struct volume_group *vg = NULL; const char *vg_name = NULL; struct pv_list *pvl; - struct list mdas; uint64_t sector; uint32_t orig_pe_alloc_count; /* FIXME Next three only required for format1. */ @@ -38,8 +37,6 @@ int allocatable = 0; int tagarg = 0; - list_init(&mdas); - if (arg_count(cmd, addtag_ARG)) tagarg = addtag_ARG; else if (arg_count(cmd, deltag_ARG)) @@ -100,7 +97,7 @@ return 0; } - if (!(pv = pv_read(cmd, pv_name, &mdas, §or, 1))) { + if (!(pv = pv_read(cmd, pv_name, NULL, §or, 1))) { unlock_vg(cmd, vg_name); log_error("Unable to read PV \"%s\"", pv_name); return 0;
next reply other threads:[~2008-07-31 12:40 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-07-31 12:40 agk [this message] 2010-05-19 11:53 wysochanski 2010-05-19 13:21 wysochanski 2010-05-19 15:34 wysochanski 2010-06-28 20:38 wysochanski
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=20080731124052.17162.qmail@sourceware.org \ --to=agk@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).