]> err.no Git - systemd/commitdiff
volume_id: btrfs - update magic to latest disk format
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 16 Oct 2008 15:10:47 +0000 (17:10 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 16 Oct 2008 15:10:47 +0000 (17:10 +0200)
extras/volume_id/lib/btrfs.c

index 660e6dab38e42fc46c54968aeccd04fb7f15b625..75a9b0a9a9a99ce617178656c830e7c25932caeb 100644 (file)
@@ -81,7 +81,7 @@ int volume_id_probe_btrfs(struct volume_id *id, uint64_t off, uint64_t size)
        if (buf == NULL)
                return -1;
        bfs = (struct btrfs_super_block *)buf;
-       if (memcmp(bfs->magic, "_B9RfS_M", 8) != 0)
+       if (memcmp(bfs->magic, "_BBRfS_M", 8) != 0)
                return -1;
        volume_id_set_uuid(id, bfs->fsid, 0, UUID_DCE);
        volume_id_set_label_raw(id, bfs->label, 256);