mirror of
https://github.com/ceph/ceph
synced 2025-01-03 17:42:36 +00:00
mds: fix snap lookups in CInode encoding
This commit is contained in:
parent
f5487fd11b
commit
9ac243eb3d
@ -1652,7 +1652,7 @@ int CInode::encode_inodestat(bufferlist& bl, Session *session,
|
||||
if (p->second.first > snapid) {
|
||||
if (p != old_inodes.begin())
|
||||
--p;
|
||||
else dout(0) << "old_inode.begin() starts after snapid!" << dendl;
|
||||
else dout(0) << "old_inode lower_bound starts after snapid!" << dendl;
|
||||
}
|
||||
dout(15) << "encode_inodestat snapid " << snapid
|
||||
<< " to old_inode [" << p->second.first << "," << p->first << "]"
|
||||
|
Loading…
Reference in New Issue
Block a user