Changeset adb5fe3 in mainline for uspace/lib/libfs


Ignore:
Timestamp:
2008-11-09T21:24:59Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b24786a3
Parents:
9a3d5f0
Message:

libfs create operation should take the device handle as argument.

Location:
uspace/lib/libfs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libfs/libfs.c

    r9a3d5f0 radb5fe3  
    192192                                void *nodep;
    193193                                if (lflag & L_CREATE)
    194                                         nodep = ops->create(lflag);
     194                                        nodep = ops->create(dev_handle, lflag);
    195195                                else
    196196                                        nodep = ops->node_get(dev_handle,
     
    263263                        void *nodep;
    264264                        if (lflag & L_CREATE)
    265                                 nodep = ops->create(lflag);
     265                                nodep = ops->create(dev_handle, lflag);
    266266                        else
    267267                                nodep = ops->node_get(dev_handle, index);
  • uspace/lib/libfs/libfs.h

    r9a3d5f0 radb5fe3  
    4646        void * (* node_get)(dev_handle_t, fs_index_t);
    4747        void (* node_put)(void *);
    48         void * (* create)(int);
     48        void * (* create)(dev_handle_t, int);
    4949        int (* destroy)(void *);
    5050        bool (* link)(void *, void *, const char *);
Note: See TracChangeset for help on using the changeset viewer.