MCPcopy Create free account
hub / github.com/ceph/ceph / detach

Method detach

src/client/Dentry.h:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 inode->dentries.push_front(&inode_xlist_link);
70 }
71 void detach(void) {
72 ceph_assert(!inode);
73 auto p = dir->dentries.find(name);
74 ceph_assert(p != dir->dentries.end());
75 dir->dentries.erase(p);
76 dir->num_null_dentries--;
77 dir = nullptr;
78 }
79
80 bool make_path_string(std::string& s)
81 {

Callers 1

unlinkMethod · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected