Changeset 80e8482 in mainline for uspace/lib/libfs
- Timestamp:
- 2008-04-15T03:01:59Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45f244b
- Parents:
- d9e9caf
- Location:
- uspace/lib/libfs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libfs/libfs.c
rd9e9caf r80e8482 199 199 if (!ops->link(cur, nodep, component)) { 200 200 if (lflag & L_CREATE) 201 ops->destroy(nodep);201 (void)ops->destroy(nodep); 202 202 ipc_answer_0(rid, ENOSPC); 203 203 } else { … … 268 268 if (!ops->link(cur, nodep, component)) { 269 269 if (lflag & L_CREATE) 270 ops->destroy(nodep);270 (void)ops->destroy(nodep); 271 271 ipc_answer_0(rid, ENOSPC); 272 272 } else { -
uspace/lib/libfs/libfs.h
rd9e9caf r80e8482 47 47 void (* node_put)(void *); 48 48 void * (* create)(int); 49 void(* destroy)(void *);49 bool (* destroy)(void *); 50 50 bool (* link)(void *, void *, const char *); 51 51 int (* unlink)(void *, void *);
Note:
See TracChangeset
for help on using the changeset viewer.