Changeset bb8cd79 in mainline
- Timestamp:
- 2011-07-28T20:36:01Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 99e846f0
- Parents:
- 99f043e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_dentry.c
r99f043e rbb8cd79 33 33 #include "mfs.h" 34 34 35 /**Read a directory entry from disk. 36 * 37 * @param mnode Pointer to the directory node. 38 * @param d_info Pointer to a directory entry structure where the dentry info 39 * will be stored. 40 * @param index index of the dentry in the list. 41 * 42 * @return EOK on success or a negative error code. 43 */ 35 44 int 36 45 read_dentry(struct mfs_node *mnode, … … 86 95 } 87 96 97 /**Write a directory entry on disk. 98 * 99 * @param d_info Pointer to the directory entry structure to write on disk. 100 * 101 * @return EOK on success or a negative error code. 102 */ 88 103 int 89 104 write_dentry(struct mfs_dentry_info *d_info) … … 128 143 } 129 144 145 /**Remove a directory entry from a directory. 146 * 147 * @param mnode Pointer to the directory node. 148 * @param d_name Name of the directory entry to delete. 149 * 150 * @return EOK on success or a negative error code. 151 */ 130 152 int 131 153 remove_dentry(struct mfs_node *mnode, const char *d_name) … … 156 178 } 157 179 180 /**Insert a new directory entry in a existing directory. 181 * 182 * @param mnode Pointer to the directory node. 183 * @param d_name Name of the new directory entry. 184 * @param d_inum index of the inode that will be pointed by the new dentry. 185 * 186 * @return EOK on success or a negative error code. 187 */ 158 188 int 159 189 insert_dentry(struct mfs_node *mnode, const char *d_name, fs_index_t d_inum)
Note:
See TracChangeset
for help on using the changeset viewer.