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->type != HD_TYPE_DIFF    && | ||||||
| 	    footer->data_offset != ~(0ULL)) | 	    footer->data_offset != ~(0ULL)) | ||||||
| 		return "invalid data offset"; | 		return "invalid data offset"; | ||||||
| 
 | /*
 | ||||||
| 	now = vhd_time(time(NULL)); | 	now = vhd_time(time(NULL)); | ||||||
| 	if (footer->timestamp > now + TIMESTAMP_MAX_SLACK) | 	if (footer->timestamp > now + TIMESTAMP_MAX_SLACK) | ||||||
| 		return "creation time in future"; | 		return "creation time in future"; | ||||||
| 
 | */ | ||||||
| 	if (!strncmp(footer->crtr_app, "tap", 3) && | 	if (!strncmp(footer->crtr_app, "tap", 3) && | ||||||
| 	    footer->crtr_ver > VHD_CURRENT_VERSION) | 	    footer->crtr_ver > VHD_CURRENT_VERSION) | ||||||
| 		return "unsupported tap creator version"; | 		return "unsupported tap creator version"; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user