journal: don't use object_number when comparing positions

Only tid does matter.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
This commit is contained in:
Mykola Golub 2015-09-17 10:05:20 +03:00
parent b9c6ae8794
commit 0dd6e0fd28

View File

@ -53,8 +53,7 @@ struct ObjectSetPosition {
return (*this == rhs || *this < rhs);
}
inline bool operator==(const ObjectSetPosition &rhs) const {
return (object_number == rhs.object_number &&
entry_positions == rhs.entry_positions);
return (entry_positions == rhs.entry_positions);
}
void encode(bufferlist& bl) const;