Changeset 241f1985 in mainline for uspace/srv/vfs/vfs_ops.c
- Timestamp:
- 2019-08-31T10:45:17Z (6 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ops.c
rf92b315 r241f1985 50 50 #include <assert.h> 51 51 #include <vfs/canonify.h> 52 #include <sysman/ctl.h> 52 53 53 54 /* Forward declarations of static functions. */ 54 55 static errno_t vfs_truncate_internal(fs_handle_t, service_id_t, fs_index_t, 55 56 aoff64_t); 57 58 static errno_t vfs_fs_request_start(const char *fs_name, unsigned int instance); 56 59 57 60 /** … … 144 147 */ 145 148 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); 147 150 fibril_mutex_lock(&fs_list_lock); 148 151 149 152 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; 157 154 } 155 158 156 /* 159 157 * Succesful start request, new server should be … … 216 214 } 217 215 218 static int vfs_fs_request_start(const char *fs_name, unsigned int instance)216 static errno_t vfs_fs_request_start(const char *fs_name, unsigned int instance) 219 217 { 220 218 char *unit_name = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.