summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/hobject.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/common/hobject.h b/src/common/hobject.h
index e483b664347..46fc67b893a 100644
--- a/src/common/hobject.h
+++ b/src/common/hobject.h
@@ -241,14 +241,10 @@ public:
return ret;
}
filestore_hobject_key_t get_filestore_key_u32() const {
- assert(!hobj.max);
- return hobj._reverse_nibbles(hobj.hash);
+ return hobj.get_filestore_key_u32();
}
filestore_hobject_key_t get_filestore_key() const {
- if (hobj.max)
- return 0x100000000ull;
- else
- return get_filestore_key_u32();
+ return hobj.get_filestore_key();
}
// maximum sorted value.