partitions/ldm: Replace uuid_copy() with import_uuid() where it makes sense
[linux-2.6-microblaze.git] / block / partitions / ldm.c
index 6fdfcb4..d333786 100644 (file)
@@ -910,7 +910,7 @@ static bool ldm_parse_dsk4 (const u8 *buffer, int buflen, struct vblk *vb)
                return false;
 
        disk = &vb->vblk.disk;
-       uuid_copy(&disk->disk_id, (uuid_t *)(buffer + 0x18 + r_name));
+       import_uuid(&disk->disk_id, buffer + 0x18 + r_name);
        return true;
 }