Changeset 77ec4d9 in mainline for uspace/srv/fs/mfs/mfs_inode.c
- Timestamp:
- 2011-09-09T17:51:18Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 980671e7
- Parents:
- 5f509cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_inode.c
r5f509cc r77ec4d9 48 48 struct mfs_ino_info **ino_ptr, uint32_t inum); 49 49 50 50 /**Read a MINIX inode from disk 51 * 52 * @param inst Pointer to the filesystem instance. 53 * @param ino_i Pointer to the generic MINIX inode 54 * where the inode content will be stored. 55 * @param index index of the inode to read. 56 * 57 * @return EOK on success or a negative error code. 58 */ 51 59 int 52 60 mfs_get_inode(struct mfs_instance *inst, struct mfs_ino_info **ino_i, … … 185 193 } 186 194 195 /**Write a MINIX inode on disk (if marked as dirty) 196 * 197 * @param mnode Pointer to the generic MINIX inode in memory. 198 * 199 * @return EOK on success or a negative error code. 200 */ 187 201 int 188 202 mfs_put_inode(struct mfs_node *mnode) … … 299 313 } 300 314 315 /**Reduce the inode size of a given number of bytes 316 * 317 * @param mnode Pointer to the generic MINIX inode in memory. 318 * @param size_shrink Number of bytes that will be subtracted to the inode. 319 * 320 * @return EOK on success or a negative error code. 321 */ 301 322 int 302 323 mfs_inode_shrink(struct mfs_node *mnode, size_t size_shrink)
Note:
See TracChangeset
for help on using the changeset viewer.