Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/mfs/mfs.h

    rb7fd2a0 r38d150e  
    169169extern libfs_ops_t mfs_libfs_ops;
    170170
    171 extern errno_t
     171extern int
    172172mfs_global_init(void);
    173173
    174174/* mfs_inode.c */
    175 extern errno_t
     175extern int
    176176mfs_get_inode(struct mfs_instance *inst, struct mfs_ino_info **ino_i,
    177177    fs_index_t index);
    178178
    179 extern errno_t
     179extern int
    180180mfs_put_inode(struct mfs_node *mnode);
    181181
    182 extern errno_t
     182extern int
    183183mfs_inode_shrink(struct mfs_node *mnode, size_t size_shrink);
    184184
    185185/* mfs_rw.c */
    186 extern errno_t
     186extern int
    187187mfs_read_map(uint32_t *b, const struct mfs_node *mnode, const uint32_t pos);
    188188
    189 extern errno_t
     189extern int
    190190mfs_write_map(struct mfs_node *mnode, uint32_t pos, uint32_t new_zone,
    191191    uint32_t *old_zone);
    192192
    193 extern errno_t
     193extern int
    194194mfs_prune_ind_zones(struct mfs_node *mnode, size_t new_size);
    195195
    196196/* mfs_dentry.c */
    197 extern errno_t
     197extern int
    198198mfs_read_dentry(struct mfs_node *mnode,
    199199    struct mfs_dentry_info *d_info, unsigned index);
    200200
    201 extern errno_t
     201extern int
    202202mfs_write_dentry(struct mfs_dentry_info *d_info);
    203203
    204 extern errno_t
     204extern int
    205205mfs_remove_dentry(struct mfs_node *mnode, const char *d_name);
    206206
    207 extern errno_t
     207extern int
    208208mfs_insert_dentry(struct mfs_node *mnode, const char *d_name, fs_index_t d_inum);
    209209
    210210/* mfs_balloc.c */
    211 extern errno_t
     211extern int
    212212mfs_alloc_inode(struct mfs_instance *inst, uint32_t *inum);
    213213
    214 extern errno_t
     214extern int
    215215mfs_free_inode(struct mfs_instance *inst, uint32_t inum);
    216216
    217 extern errno_t
     217extern int
    218218mfs_alloc_zone(struct mfs_instance *inst, uint32_t *zone);
    219219
    220 extern errno_t
     220extern int
    221221mfs_free_zone(struct mfs_instance *inst, uint32_t zone);
    222222
    223 extern errno_t
     223extern int
    224224mfs_count_free_zones(struct mfs_instance *inst, uint32_t *zones);
    225225
    226 extern errno_t
     226extern int
    227227mfs_count_free_inodes(struct mfs_instance *inst, uint32_t *inodes);
    228228
Note: See TracChangeset for help on using the changeset viewer.