| 278 | } |
| 279 | |
| 280 | static struct proc_dentry *proc_register(struct proc_dentry *parent, struct proc_dentry *child) |
| 281 | { |
| 282 | child->parent = parent; |
| 283 | dfs_vfs_append_node(&parent->node, &child->node); |
| 284 | child->ref_count += 1; |
| 285 | child->pid = parent->pid; |
| 286 | |
| 287 | return child; |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * @brief Make a dir |
no test coverage detected