]> sourceware.org Git - lvm2.git/commitdiff
revert unnecessary 'stack's
authorAlasdair Kergon <agk@redhat.com>
Mon, 15 Sep 2008 17:06:55 +0000 (17:06 +0000)
committerAlasdair Kergon <agk@redhat.com>
Mon, 15 Sep 2008 17:06:55 +0000 (17:06 +0000)
lib/format1/disk-rep.c
lib/label/label.c

index e68b3f5a5e1abb1b1b107c45705eecdd7a1193e3..896f4c7f08b995aca82e5a1273eee38a0a58ccb3 100644 (file)
@@ -194,7 +194,7 @@ int munge_pvd(struct device *dev, struct pv_disk *pvd)
        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 @@ static int _read_pvd(struct device *dev, struct pv_disk *pvd)
        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);
index f2cb028a2a7d11a9c258a8aa1cfa2c8f3c72da58..047e6a9595e18f20ae5c3948de5d405241780a76 100644 (file)
@@ -119,7 +119,7 @@ static struct labeller *_find_labeller(struct device *dev, char *buf,
        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 */
This page took 0.034429 seconds and 5 git commands to generate.