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:
parent
92e52e2fd1
commit
64b333fdcc
@ -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)
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user