]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: rename UUID_LOG to LOGUUID
authorKarel Zak <kzak@redhat.com>
Wed, 11 Sep 2013 08:40:13 +0000 (10:40 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Sep 2013 08:40:13 +0000 (10:40 +0200)
 * the goal is to make the uuid visible and usable it as mount
   variable/spec, then LOGUUID= seems better than UUID_LOG=

 * we already have PARTUUID=

 * the UUID_RAW and UUID_SUB are not used by mount(8)

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/superblocks.c
libblkid/src/superblocks/xfs.c

index c09d8285fc15309b6d70398917ec9f0741d7fbbe..d5478551fed825c9e59762e33aa036530f3a5840 100644 (file)
@@ -49,7 +49,7 @@
  *
  * @UUID_SUB: subvolume uuid (e.g. btrfs)
  *
- * @UUID_LOG: external log UUID (e.g. xfs)
+ * @LOGUUID: external log UUID (e.g. xfs)
  *
  * @UUID_RAW: raw UUID from FS superblock
  *
index 285b7c4a2e5432827996d3ae242c7bdbda276006..7c514e8ddc690386ca784bbf1e245655de68f99a 100644 (file)
@@ -131,7 +131,7 @@ static int probe_xfs_log(blkid_probe pr, const struct blkid_idmag *mag)
 
                if (xlog_valid_rec_header(rhead)) {
                        blkid_probe_set_uuid(pr, rhead->h_uuid);
-                       blkid_probe_set_uuid_as(pr, rhead->h_uuid, "UUID_LOG");
+                       blkid_probe_set_uuid_as(pr, rhead->h_uuid, "LOGUUID");
                        return 0;
                }
        }