Changeset 241f1985 in mainline for uspace/srv/vfs/vfs_ops.c


Ignore:
Timestamp:
2019-08-31T10:45:17Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
102f641
Parents:
f92b315
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-31 10:45:17)
Message:

Correcting failure from previous merge

The commits from Michal Koutný from the branch system-daemon
where built on a old version of Helenos. Because of this
many types and API functions have changed. This commit
upgrades the merge code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_ops.c

    rf92b315 r241f1985  
    5050#include <assert.h>
    5151#include <vfs/canonify.h>
     52#include <sysman/ctl.h>
    5253
    5354/* Forward declarations of static functions. */
    5455static errno_t vfs_truncate_internal(fs_handle_t, service_id_t, fs_index_t,
    5556    aoff64_t);
     57
     58static errno_t vfs_fs_request_start(const char *fs_name, unsigned int instance);
    5659
    5760/**
     
    144147                                 */
    145148                                fibril_mutex_unlock(&fs_list_lock);
    146                                 rc = vfs_fs_request_start(fs_name, instance);
     149                                errno_t rc = vfs_fs_request_start(fsname, instance);
    147150                                fibril_mutex_lock(&fs_list_lock);
    148151
    149152                                if (rc != EOK) {
    150                                         fibril_mutex_unlock(&fs_list_lock);
    151                                         async_answer_0(callid, rc);
    152                                         async_answer_0(rid, rc);
    153                                         free(mp);
    154                                         free(fs_name);
    155                                         free(opts);
    156                                         return;
     153                                        return rc;
    157154                                }
     155
    158156                                /*
    159157                                 * Succesful start request, new server should be
     
    216214}
    217215
    218 static int vfs_fs_request_start(const char *fs_name, unsigned int instance)
     216static errno_t vfs_fs_request_start(const char *fs_name, unsigned int instance)
    219217{
    220218        char *unit_name = NULL;
Note: See TracChangeset for help on using the changeset viewer.