[caching/superblock] policy_version[] was in the wrong place in structure.

This commit is contained in:
Joe Thornber 2013-10-11 13:35:01 +01:00
parent 764ee0b0c5
commit 9a24867281

View File

@ -18,7 +18,6 @@ namespace {
le32 version; le32 version;
__u8 policy_name[CACHE_POLICY_NAME_SIZE]; __u8 policy_name[CACHE_POLICY_NAME_SIZE];
le32 policy_version[CACHE_POLICY_VERSION_SIZE];
le32 policy_hint_size; le32 policy_hint_size;
__u8 metadata_space_map_root[SPACE_MAP_ROOT_SIZE]; __u8 metadata_space_map_root[SPACE_MAP_ROOT_SIZE];
@ -42,6 +41,8 @@ namespace {
le32 read_misses; le32 read_misses;
le32 write_hits; le32 write_hits;
le32 write_misses; le32 write_misses;
le32 policy_version[CACHE_POLICY_VERSION_SIZE];
} __attribute__ ((packed)); } __attribute__ ((packed));
struct superblock_traits { struct superblock_traits {