Rev 4359 | Rev 4409 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4359 | Rev 4370 | ||
---|---|---|---|
Line 239... | Line 239... | ||
239 | static fs_node_t *fat_node_get(dev_handle_t, fs_index_t); |
239 | static fs_node_t *fat_node_get(dev_handle_t, fs_index_t); |
240 | static void fat_node_put(fs_node_t *); |
240 | static void fat_node_put(fs_node_t *); |
241 | static fs_node_t *fat_create_node(dev_handle_t, int); |
241 | static fs_node_t *fat_create_node(dev_handle_t, int); |
242 | static int fat_destroy_node(fs_node_t *); |
242 | static int fat_destroy_node(fs_node_t *); |
243 | static int fat_link(fs_node_t *, fs_node_t *, const char *); |
243 | static int fat_link(fs_node_t *, fs_node_t *, const char *); |
244 | static int fat_unlink(fs_node_t *, fs_node_t *); |
244 | static int fat_unlink(fs_node_t *, fs_node_t *, const char *); |
245 | static fs_node_t *fat_match(fs_node_t *, const char *); |
245 | static fs_node_t *fat_match(fs_node_t *, const char *); |
246 | static fs_index_t fat_index_get(fs_node_t *); |
246 | static fs_index_t fat_index_get(fs_node_t *); |
247 | static size_t fat_size_get(fs_node_t *); |
247 | static size_t fat_size_get(fs_node_t *); |
248 | static unsigned fat_lnkcnt_get(fs_node_t *); |
248 | static unsigned fat_lnkcnt_get(fs_node_t *); |
249 | static bool fat_has_children(fs_node_t *); |
249 | static bool fat_has_children(fs_node_t *); |
Line 541... | Line 541... | ||
541 | fat_idx_hashin(childp->idx); |
541 | fat_idx_hashin(childp->idx); |
542 | 542 | ||
543 | return EOK; |
543 | return EOK; |
544 | } |
544 | } |
545 | 545 | ||
546 | int fat_unlink(fs_node_t *pfn, fs_node_t *cfn) |
546 | int fat_unlink(fs_node_t *pfn, fs_node_t *cfn, const char *nm) |
547 | { |
547 | { |
548 | fat_node_t *parentp = FAT_NODE(pfn); |
548 | fat_node_t *parentp = FAT_NODE(pfn); |
549 | fat_node_t *childp = FAT_NODE(cfn); |
549 | fat_node_t *childp = FAT_NODE(cfn); |
550 | fat_bs_t *bs; |
550 | fat_bs_t *bs; |
551 | fat_dentry_t *d; |
551 | fat_dentry_t *d; |