Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/mfs/mfs_inode.c

    r7a46bfe r77ec4d9  
    4848                struct mfs_ino_info **ino_ptr, uint32_t inum);
    4949
    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 */
    5159int
    5260mfs_get_inode(struct mfs_instance *inst, struct mfs_ino_info **ino_i,
     
    185193}
    186194
     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 */
    187201int
    188 mfs_put_inode_core(struct mfs_node *mnode)
     202mfs_put_inode(struct mfs_node *mnode)
    189203{
    190204        int rc = EOK;
     
    299313}
    300314
     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 */
    301322int
    302323mfs_inode_shrink(struct mfs_node *mnode, size_t size_shrink)
Note: See TracChangeset for help on using the changeset viewer.