1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00

volume_id: support via raid version 2

This commit is contained in:
Sven Jost 2009-01-15 19:09:12 +01:00 committed by Kay Sievers
parent 92e52e2fd1
commit 64b333fdcc
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ AC_SUBST(LIBUDEV_LT_AGE)
dnl /* libvolume_id version */
VOLID_LT_CURRENT=1
VOLID_LT_REVISION=7
VOLID_LT_REVISION=8
VOLID_LT_AGE=0
AC_SUBST(VOLID_LT_CURRENT)
AC_SUBST(VOLID_LT_REVISION)

View File

@ -83,7 +83,7 @@ int volume_id_probe_via_raid(struct volume_id *id, uint64_t off, uint64_t size)
if (le16_to_cpu(via->signature) != VIA_SIGNATURE)
return -1;
if (via->version_number > 1)
if (via->version_number > 2)
return -1;
if (!meta_checksum(via))