]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
[PATCH] volume_id: version 43
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Tue, 15 Mar 2005 23:52:00 +0000 (00:52 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:53:53 +0000 (23:53 -0700)
extras/volume_id/volume_id/reiserfs.c
extras/volume_id/volume_id/volume_id.h

index 091c68aaf47c4bf1e45b1f7b8cfc889e3c574907..a53fc4a5a90c3171da7c4d323b9911c966ab28f3 100644 (file)
@@ -86,11 +86,11 @@ int volume_id_probe_reiserfs(struct volume_id *id, __u64 off)
        }
        if (memcmp(rs->magic, "ReIsEr2Fs", 9) == 0) {
                strcpy(id->type_version, "3.6");
-               goto found_v3;
+               goto found_label;
        }
        if (memcmp(rs->magic, "ReIsEr3Fs", 9) == 0) {
                strcpy(id->type_version, "JR");
-               goto found_v3;
+               goto found_label;
        }
 
        rs4 = (struct reiser4_super_block *) buf;
@@ -113,7 +113,7 @@ int volume_id_probe_reiserfs(struct volume_id *id, __u64 off)
 
        return -1;
 
-found_v3:
+found_label:
        volume_id_set_label_raw(id, rs->label, 16);
        volume_id_set_label_string(id, rs->label, 16);
        volume_id_set_uuid(id, rs->uuid, UUID_DCE);
index 63f95132dfbad46c36c3201eabcfeb4e30fc6b55..c7fa0d9bea25f76c13e5611b883742bbf64c8e0d 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef _VOLUME_ID_H_
 #define _VOLUME_ID_H_
 
-#define VOLUME_ID_VERSION              42
+#define VOLUME_ID_VERSION              43
 
 #define VOLUME_ID_LABEL_SIZE           64
 #define VOLUME_ID_UUID_SIZE            36