* @brief Create a new directory entry (dentry) with relative path * * @param[in] mnt Pointer to the mount point structure * @param[in] rela_path Relative path string for the dentry * * @return struct dfs_dentry* Pointer to newly created dentry, or NULL if creation failed * * @note This is a wrapper for _dentry_create() with is_rela_path set to RT_TRUE * @see _dentry_create() */
| 122 | * @see _dentry_create() |
| 123 | */ |
| 124 | struct dfs_dentry *dfs_dentry_create_rela(struct dfs_mnt *mnt, char *rela_path) |
| 125 | { |
| 126 | return _dentry_create(mnt, rela_path, RT_TRUE);; |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * @brief Increase reference count for a directory entry (dentry) |
no test coverage detected