Give a chance for the scan tool to proceed with other inodes/dentries.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
derr << "Unexpected error reading dentry "
<< p.second.dirfrag() << "/" << p.second.name
<< ": " << cpp_strerror(r) << dendl;
- return r;
+ continue;
}
if (inode.inode->ino != p.first || inode.inode->version != p.second.version)
derr << "Unexpected error reading dentry "
<< p.second.dirfrag() << "/" << p.second.name
<< ": " << cpp_strerror(r) << dendl;
- return r;
+ continue;
}
if (first != CEPH_NOSNAP) {