Changeset 04803bf in mainline for uspace/srv/fs/tmpfs/tmpfs.h


Ignore:
Timestamp:
2011-03-21T22:00:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
143932e3
Parents:
b50b5af2 (diff), 7308e84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes (needs fixes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs.h

    rb50b5af2 r04803bf  
    2929/** @addtogroup fs
    3030 * @{
    31  */ 
     31 */
    3232
    3333#ifndef TMPFS_TMPFS_H_
    3434#define TMPFS_TMPFS_H_
    3535
    36 #include <ipc/ipc.h>
    3736#include <libfs.h>
    3837#include <atomic.h>
     
    4039#include <bool.h>
    4140#include <adt/hash_table.h>
    42 
    43 #ifndef dprintf
    44 #define dprintf(...)    printf(__VA_ARGS__)
    45 #endif
    4641
    4742#define TMPFS_NODE(node)        ((node) ? (tmpfs_node_t *)(node)->data : NULL)
     
    6661        fs_node_t *bp;          /**< Back pointer to the FS node. */
    6762        fs_index_t index;       /**< TMPFS node index. */
    68         dev_handle_t dev_handle;/**< Device handle. */
     63        devmap_handle_t devmap_handle;/**< Device handle. */
    6964        link_t nh_link;         /**< Nodes hash table link. */
    7065        tmpfs_dentry_type_t type;
     
    8378extern void tmpfs_mounted(ipc_callid_t, ipc_call_t *);
    8479extern void tmpfs_mount(ipc_callid_t, ipc_call_t *);
     80extern void tmpfs_unmounted(ipc_callid_t, ipc_call_t *);
     81extern void tmpfs_unmount(ipc_callid_t, ipc_call_t *);
    8582extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *);
    8683extern void tmpfs_read(ipc_callid_t, ipc_call_t *);
     
    9390extern void tmpfs_sync(ipc_callid_t, ipc_call_t *);
    9491
    95 extern bool tmpfs_restore(dev_handle_t);
     92extern bool tmpfs_restore(devmap_handle_t);
    9693
    9794#endif
Note: See TracChangeset for help on using the changeset viewer.