Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2862 → Rev 2863

/trunk/uspace/lib/libfs/libfs.c
194,7 → 194,7
nodep = ops->create(lflag);
else
nodep = ops->node_get(dev_handle,
index, ops->index_get(cur));
index);
if (nodep) {
if (!ops->link(cur, nodep, component)) {
if (lflag & L_CREATE)
262,8 → 262,7
if (lflag & L_CREATE)
nodep = ops->create(lflag);
else
nodep = ops->node_get(dev_handle, index,
ops->index_get(cur));
nodep = ops->node_get(dev_handle, index);
if (nodep) {
if (!ops->link(cur, nodep, component)) {
if (lflag & L_CREATE)
/trunk/uspace/lib/libfs/libfs.h
43,7 → 43,7
 
typedef struct {
void * (* match)(void *, const char *);
void * (* node_get)(dev_handle_t, fs_index_t, fs_index_t);
void * (* node_get)(dev_handle_t, fs_index_t);
void (* node_put)(void *);
void * (* create)(int);
int (* destroy)(void *);