Changeset bbddafb in mainline


Ignore:
Timestamp:
2009-10-02T14:09:43Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f5dc18, d57e08f
Parents:
5643a04
Message:

Make the file systems set the task return value so that the user gets the shell
back.

Location:
uspace/srv/fs
Files:
3 edited

Legend:

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

    r5643a04 rbbddafb  
    4444#include <async.h>
    4545#include <errno.h>
     46#include <task.h>
    4647#include <libfs.h>
    4748#include "devfs.h"
     
    131132       
    132133        printf(NAME ": Accepting connections\n");
     134        task_retval(0);
    133135        async_manager();
    134136       
  • uspace/srv/fs/fat/fat.c

    r5643a04 rbbddafb  
    4343#include <errno.h>
    4444#include <unistd.h>
     45#include <task.h>
    4546#include <stdio.h>
    4647#include <libfs.h>
     
    157158       
    158159        printf(NAME ": Accepting connections\n");
     160        task_retval(0);
    159161        async_manager();
    160162        /* not reached */
  • uspace/srv/fs/tmpfs/tmpfs.c

    r5643a04 rbbddafb  
    4848#include <unistd.h>
    4949#include <stdio.h>
     50#include <task.h>
    5051#include <libfs.h>
    5152#include "../../vfs/vfs.h"
     
    162163
    163164        printf(NAME ": Accepting connections\n");
     165        task_retval(0);
    164166        async_manager();
    165167        /* not reached */
Note: See TracChangeset for help on using the changeset viewer.