| 194 | } |
| 195 | |
| 196 | auto MountTable::GetRootDentry(MountPoint* mp) -> Dentry* { |
| 197 | if (mp == nullptr || !mp->active) { |
| 198 | return nullptr; |
| 199 | } |
| 200 | return mp->root_dentry; |
| 201 | } |
| 202 | |
| 203 | auto MountTable::FindByMountDentry(const Dentry* dentry) -> MountPoint* { |
| 204 | if (dentry == nullptr) { |
nothing calls this directly
no outgoing calls
no test coverage detected