Changeset b8dbe2f in mainline for uspace/lib/fs/libfs.c


Ignore:
Timestamp:
2013-07-31T15:36:57Z (11 years ago)
Author:
Jiri Zarevucky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1dff985
Parents:
06256b0
Message:

Remove unnecessary includes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fs/libfs.c

    r06256b0 rb8dbe2f  
    3636
    3737#include "libfs.h"
    38 #include "../../srv/vfs/vfs.h"
    3938#include <macros.h>
    4039#include <errno.h>
     
    4645#include <sys/stat.h>
    4746#include <stdlib.h>
     47#include <fibril_synch.h>
    4848
    4949#define on_error(rc, action) \
     
    661661                        async_answer_5(rid, fs_handle, service_id,
    662662                            ops->index_get(cur), last, lsize,
    663                             ops->is_directory(cur) ? VFS_NODE_DIRECTORY : VFS_NODE_FILE);
     663                            ops->is_directory(cur));
    664664                        LOG_EXIT(EOK);
    665665                } else {
     
    707707        if (!cur) {
    708708                async_answer_5(rid, fs_handle, service_id,
    709                         ops->index_get(par), last_next, -1, VFS_NODE_DIRECTORY);
     709                        ops->index_get(par), last_next, -1, true);
    710710                LOG_EXIT(EOK);
    711711                goto out;
     
    729729        async_answer_5(rid, fs_handle, service_id,
    730730                ops->index_get(cur), last, lsize,
    731                 ops->is_directory(cur) ? VFS_NODE_DIRECTORY : VFS_NODE_FILE);
     731                ops->is_directory(cur));
    732732       
    733733        LOG_EXIT(EOK);
Note: See TracChangeset for help on using the changeset viewer.