caching/superblock.{h,cc}
This commit is contained in:
		
							
								
								
									
										35
									
								
								caching/metadata_disk_structures.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								caching/metadata_disk_structures.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
| // Copyright (C) 2012 Red Hat, Inc. All rights reserved. | ||||
| // | ||||
| // This file is part of the thin-provisioning-tools source. | ||||
| // | ||||
| // thin-provisioning-tools is free software: you can redistribute it | ||||
| // and/or modify it under the terms of the GNU General Public License | ||||
| // as published by the Free Software Foundation, either version 3 of | ||||
| // the License, or (at your option) any later version. | ||||
| // | ||||
| // thin-provisioning-tools is distributed in the hope that it will be | ||||
| // useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||||
| // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
| // GNU General Public License for more details. | ||||
| // | ||||
| // You should have received a copy of the GNU General Public License along | ||||
| // with thin-provisioning-tools.  If not, see | ||||
| // <http://www.gnu.org/licenses/>. | ||||
|  | ||||
| #ifndef CACHE_METADATA_DISK_STRUCTURES_H | ||||
| #define CACHE_METADATA_DISK_STRUCTURES_H | ||||
|  | ||||
| #include "persistent-data/endian_utils.h" | ||||
| #include "persistent-data/data-structures/btree.h" | ||||
|  | ||||
| //---------------------------------------------------------------- | ||||
|  | ||||
| // FIXME: rename to just METADATA_DISK_STRUCTURES | ||||
| namespace cache_tools { | ||||
| 	using namespace base;	// FIXME: don't use namespaces in headers. | ||||
|  | ||||
| } | ||||
|  | ||||
| //---------------------------------------------------------------- | ||||
|  | ||||
| #endif | ||||
		Reference in New Issue
	
	Block a user