Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 6468072 in mainline


Ignore:
Timestamp:
2011-07-25T19:05:40Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
7accfac
Parents:
365e5e08
Message:

Remove unused function

Location:
uspace/srv/fs/minixfs
Files:
2 edited

Legend:

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

    r365e5e08 r6468072  
    209209
    210210extern int
    211 free_zone(struct mfs_node *mnode, const uint32_t zone);
    212 
    213 extern int
    214211prune_ind_zones(struct mfs_node *mnode, size_t new_size);
    215212
  • uspace/srv/fs/minixfs/mfs_rw.c

    r365e5e08 r6468072  
    9090}
    9191
    92 int
    93 free_zone(struct mfs_node *mnode, const uint32_t zone)
    94 {
    95         int r;
    96         uint32_t old_zone;
    97 
    98         r = rw_map_ondisk(&old_zone, mnode, zone, true, 0);
    99         on_error(r, return r);
    100 
    101         if (old_zone > 0)
    102                 r = mfs_free_zone(mnode->instance, old_zone);
    103 
    104         return r;
    105 }
    106 
    10792static int
    10893rw_map_ondisk(uint32_t *b, const struct mfs_node *mnode, int rblock,
Note: See TracChangeset for help on using the changeset viewer.