Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2856 → Rev 2857

/trunk/uspace/lib/libfs/libfs.c
198,7 → 198,7
if (nodep) {
if (!ops->link(cur, nodep, component)) {
if (lflag & L_CREATE)
ops->destroy(nodep);
(void)ops->destroy(nodep);
ipc_answer_0(rid, ENOSPC);
} else {
ipc_answer_5(rid, EOK,
267,7 → 267,7
if (nodep) {
if (!ops->link(cur, nodep, component)) {
if (lflag & L_CREATE)
ops->destroy(nodep);
(void)ops->destroy(nodep);
ipc_answer_0(rid, ENOSPC);
} else {
ipc_answer_5(rid, EOK,
/trunk/uspace/lib/libfs/libfs.h
46,7 → 46,7
void * (* node_get)(dev_handle_t, fs_index_t, fs_index_t);
void (* node_put)(void *);
void * (* create)(int);
void (* destroy)(void *);
bool (* destroy)(void *);
bool (* link)(void *, void *, const char *);
int (* unlink)(void *, void *);
fs_index_t (* index_get)(void *);