Changeset 0013b9ce in mainline for uspace/lib/libfs/libfs.c
- Timestamp:
- 2008-11-23T12:27:15Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7782030
- Parents:
- f714576
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libfs/libfs.c
rf714576 r0013b9ce 197 197 index); 198 198 if (nodep) { 199 if (!ops->link(cur, nodep, component)) { 199 int rc; 200 201 rc = ops->link(cur, nodep, component); 202 if (rc != EOK) { 200 203 if (lflag & L_CREATE) { 201 204 (void)ops->destroy( 202 205 nodep); 203 206 } 204 ipc_answer_0(rid, ENOSPC);207 ipc_answer_0(rid, rc); 205 208 } else { 206 209 ipc_answer_5(rid, EOK, … … 267 270 nodep = ops->node_get(dev_handle, index); 268 271 if (nodep) { 269 if (!ops->link(cur, nodep, component)) { 272 int rc; 273 274 rc = ops->link(cur, nodep, component); 275 if (rc != EOK) { 270 276 if (lflag & L_CREATE) 271 277 (void)ops->destroy(nodep); 272 ipc_answer_0(rid, ENOSPC);278 ipc_answer_0(rid, rc); 273 279 } else { 274 280 ipc_answer_5(rid, EOK,
Note:
See TracChangeset
for help on using the changeset viewer.