[cache_restore/dump] mappings dump restore ok now

This commit is contained in:
Joe Thornber
2013-09-23 11:15:41 +01:00
parent dc97e0ea4e
commit 2e58332e49
5 changed files with 53 additions and 9 deletions

View File

@ -21,7 +21,7 @@ void
mapping_traits::pack(value_type const &value, disk_type &disk)
{
uint64_t packed = value.oblock_ << 16;
packed = packed || (value.flags_ & FLAGS_MASK);
packed = packed | (value.flags_ & FLAGS_MASK);
disk = base::to_disk<le64>(packed);
}