mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
remove timestamp check for vhd-util check
This commit is contained in:
parent
e01ca05208
commit
8e334107f0
@ -113,11 +113,11 @@ ok:
|
||||
footer->type != HD_TYPE_DIFF &&
|
||||
footer->data_offset != ~(0ULL))
|
||||
return "invalid data offset";
|
||||
|
||||
/*
|
||||
now = vhd_time(time(NULL));
|
||||
if (footer->timestamp > now + TIMESTAMP_MAX_SLACK)
|
||||
return "creation time in future";
|
||||
|
||||
*/
|
||||
if (!strncmp(footer->crtr_app, "tap", 3) &&
|
||||
footer->crtr_ver > VHD_CURRENT_VERSION)
|
||||
return "unsupported tap creator version";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user