Changes in / [d57e08f:f5af635] in mainline


Ignore:
Location:
uspace/srv/fs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/devfs/devfs.c

    rd57e08f rf5af635  
    4444#include <async.h>
    4545#include <errno.h>
    46 #include <task.h>
    4746#include <libfs.h>
    4847#include "devfs.h"
     
    5251
    5352static vfs_info_t devfs_vfs_info = {
    54         .name = NAME,
     53        .name = "devfs",
    5554};
    5655
     
    132131       
    133132        printf(NAME ": Accepting connections\n");
    134         task_retval(0);
    135133        async_manager();
    136134       
  • uspace/srv/fs/fat/fat.c

    rd57e08f rf5af635  
    4343#include <errno.h>
    4444#include <unistd.h>
    45 #include <task.h>
    4645#include <stdio.h>
    4746#include <libfs.h>
    4847#include "../../vfs/vfs.h"
    4948
    50 #define NAME    "fat"
    5149
    5250vfs_info_t fat_vfs_info = {
    53         .name = NAME,
     51        .name = "fat",
    5452};
    5553
     
    8583        }
    8684       
    87         dprintf(NAME ": connection opened\n");
     85        dprintf("VFS-FAT connection established.\n");
    8886        while (1) {
    8987                ipc_callid_t callid;
     
    139137        int rc;
    140138
    141         printf(NAME ": HelenOS FAT file system server\n");
     139        printf("fat: HelenOS FAT file system server.\n");
    142140
    143141        rc = fat_idx_init();
     
    147145        vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
    148146        if (vfs_phone < EOK) {
    149                 printf(NAME ": failed to connect to VFS\n");
     147                printf("fat: failed to connect to VFS\n");
    150148                return -1;
    151149        }
     
    157155        }
    158156       
    159         printf(NAME ": Accepting connections\n");
    160         task_retval(0);
     157        dprintf("FAT filesystem registered, fs_handle=%d.\n",
     158            fat_reg.fs_handle);
     159
    161160        async_manager();
    162161        /* not reached */
     
    164163
    165164err:
    166         printf(NAME ": Failed to register file system (%d)\n", rc);
     165        printf("Failed to register the FAT file system (%d)\n", rc);
    167166        return rc;
    168167}
  • uspace/srv/fs/tmpfs/tmpfs.c

    rd57e08f rf5af635  
    4848#include <unistd.h>
    4949#include <stdio.h>
    50 #include <task.h>
    5150#include <libfs.h>
    5251#include "../../vfs/vfs.h"
     
    5655
    5756vfs_info_t tmpfs_vfs_info = {
    58         .name = NAME,
     57        .name = "tmpfs",
    5958};
    6059
     
    9190        }
    9291       
    93         dprintf(NAME ": connection opened\n");
     92        dprintf("VFS-TMPFS connection established.\n");
    9493        while (1) {
    9594                ipc_callid_t callid;
     
    163162
    164163        printf(NAME ": Accepting connections\n");
    165         task_retval(0);
    166164        async_manager();
    167165        /* not reached */
Note: See TracChangeset for help on using the changeset viewer.