Changeset 77ec4d9 in mainline for uspace/srv/fs/mfs/mfs_inode.c


Ignore:
Timestamp:
2011-09-09T17:51:18Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
980671e7
Parents:
5f509cc
Message:

Improve comments in mfs_inode.c

File:
1 edited

Legend:

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

    r5f509cc 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
    188202mfs_put_inode(struct mfs_node *mnode)
     
    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.