| 85 | }; |
| 86 | |
| 87 | class DentryIdent |
| 88 | { |
| 89 | public: |
| 90 | DentryIdent(std::string_view dname_, snapid_t snap_id_) |
| 91 | : dname(dname_), snap_id(snap_id_) |
| 92 | {} |
| 93 | |
| 94 | bool operator<(const DentryIdent &rhs) const |
| 95 | { |
| 96 | if (dname == rhs.dname) { |
| 97 | return snap_id < rhs.snap_id; |
| 98 | } else { |
| 99 | return dname < rhs.dname; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | std::string dname; |
| 104 | snapid_t snap_id; |
| 105 | }; |
| 106 | |
| 107 | /** |
| 108 | * Registry of in-RADOS metadata damage identified |
no outgoing calls
no test coverage detected