public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib format1/disk-rep.c label/label.c
@ 2008-09-15 17:06 agk
0 siblings, 0 replies; only message in thread
From: agk @ 2008-09-15 17:06 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2008-09-15 17:06:55
Modified files:
lib/format1 : disk-rep.c
lib/label : label.c
Log message:
revert unnecessary 'stack's
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format1/disk-rep.c.diff?cvsroot=lvm2&r1=1.74&r2=1.75
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/label/label.c.diff?cvsroot=lvm2&r1=1.43&r2=1.44
--- LVM2/lib/format1/disk-rep.c 2008/08/28 13:41:46 1.74
+++ LVM2/lib/format1/disk-rep.c 2008/09/15 17:06:54 1.75
@@ -194,7 +194,7 @@
if (!_munge_formats(pvd)) {
log_very_verbose("format1: Unknown metadata version %d "
"found on %s", pvd->version, dev_name(dev));
- return_0;
+ return 0;
}
/* If VG is exported, set VG name back to the real name */
@@ -208,7 +208,7 @@
if (!dev_read(dev, UINT64_C(0), sizeof(*pvd), pvd)) {
log_very_verbose("Failed to read PV data from %s",
dev_name(dev));
- return_0;
+ return 0;
}
return munge_pvd(dev, pvd);
--- LVM2/lib/label/label.c 2008/08/28 13:28:13 1.43
+++ LVM2/lib/label/label.c 2008/09/15 17:06:55 1.44
@@ -119,7 +119,7 @@
if (!dev_read(dev, scan_sector << SECTOR_SHIFT,
LABEL_SCAN_SIZE, readbuf)) {
log_debug("%s: Failed to read label area", dev_name(dev));
- goto_out;
+ goto out;
}
/* Scan a few sectors for a valid label */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-15 17:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-15 17:06 LVM2/lib format1/disk-rep.c label/label.c agk
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).