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


Ignore:
Timestamp:
2008-11-23T12:27:15Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7782030
Parents:
f714576
Message:

libfs operation link() should return standard error code instead of mere
true/false.

File:
1 edited

Legend:

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

    rf714576 r0013b9ce  
    224224static void *fat_create_node(dev_handle_t, int);
    225225static int fat_destroy_node(void *);
    226 static bool fat_link(void *, void *, const char *);
     226static int fat_link(void *, void *, const char *);
    227227static int fat_unlink(void *, void *);
    228228static void *fat_match(void *, const char *);
     
    342342}
    343343
    344 bool fat_link(void *prnt, void *chld, const char *name)
    345 {
    346         return false;   /* not supported at the moment */
     344int fat_link(void *prnt, void *chld, const char *name)
     345{
     346        return ENOTSUP; /* not supported at the moment */
    347347}
    348348
     
    526526};
    527527
     528/*
     529 * VFS operations.
     530 */
     531
    528532void fat_mounted(ipc_callid_t rid, ipc_call_t *request)
    529533{
Note: See TracChangeset for help on using the changeset viewer.