Changeset ebf1011 in mainline
- Timestamp:
- 2017-03-21T19:19:56Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c990ee6
- Parents:
- 3648e184
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ipc.c
r3648e184 rebf1011 140 140 /* Retrieve the old path. */ 141 141 rc = async_data_write_accept((void **) &old, true, 0, 0, 0, NULL); 142 if (rc != EOK) {142 if (rc != EOK) 143 143 goto out; 144 }145 144 146 145 /* Retrieve the new path. */ 147 146 rc = async_data_write_accept((void **) &new, true, 0, 0, 0, NULL); 148 if (rc != EOK) {147 if (rc != EOK) 149 148 goto out; 150 }151 149 152 150 size_t olen; … … 168 166 async_answer_0(rid, rc); 169 167 170 if (old) {168 if (old) 171 169 free(old); 172 } 173 if (new) { 170 if (new) 174 171 free(new); 175 }176 172 } 177 173 … … 218 214 char *path; 219 215 int rc = async_data_write_accept((void **) &path, true, 0, 0, 0, NULL); 220 if (rc == EOK) {216 if (rc == EOK) 221 217 rc = vfs_op_unlink2(parentfd, expectfd, wflag, path); 222 }223 218 224 219 async_answer_0(rid, rc);
Note:
See TracChangeset
for help on using the changeset viewer.