Changeset cf95bc0 in mainline for uspace/srv/fs/fat/fat_ops.c


Ignore:
Timestamp:
2009-05-09T21:56:50Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d4a172b
Parents:
4f46695e
Message:

Streamline TMPFS and fix its design so that it properly supports hardlinks.
libfs operation unlink() is now passed also the name of the component being
unlinked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    r4f46695e rcf95bc0  
    242242static int fat_destroy_node(fs_node_t *);
    243243static int fat_link(fs_node_t *, fs_node_t *, const char *);
    244 static int fat_unlink(fs_node_t *, fs_node_t *);
     244static int fat_unlink(fs_node_t *, fs_node_t *, const char *);
    245245static fs_node_t *fat_match(fs_node_t *, const char *);
    246246static fs_index_t fat_index_get(fs_node_t *);
     
    544544}
    545545
    546 int fat_unlink(fs_node_t *pfn, fs_node_t *cfn)
     546int fat_unlink(fs_node_t *pfn, fs_node_t *cfn, const char *nm)
    547547{
    548548        fat_node_t *parentp = FAT_NODE(pfn);
Note: See TracChangeset for help on using the changeset viewer.