summaryrefslogtreecommitdiffstats
path: root/src/mds/CInode.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds/CInode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/CInode.h b/src/mds/CInode.h
index 979b45174..6f965bffa 100644
--- a/src/mds/CInode.h
+++ b/src/mds/CInode.h
@@ -712,7 +712,7 @@ class CInode : public MDSCacheObject, public InodeStoreBase, public Counter<CIno
}
// -- misc --
- bool is_ancestor_of(const CInode *other) const;
+ bool is_ancestor_of(const CInode *other, std::unordered_map<CInode const*,bool>* visited=nullptr) const;
bool is_projected_ancestor_of(const CInode *other) const;
void make_path_string(std::string& s, bool projected=false, const CDentry *use_parent=NULL) const;