Changeset 230260ac in mainline for uspace/srv/vfs/vfs.h
- Timestamp:
- 2009-06-09T22:27:43Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0e31a2b
- Parents:
- 041186f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.h
r041186f r230260ac 36 36 #include <ipc/ipc.h> 37 37 #include <adt/list.h> 38 #include <fibril_sync.h> 38 39 #include <futex.h> 39 #include <rwlock.h>40 40 #include <sys/types.h> 41 41 #include <devmap.h> … … 55 55 vfs_info_t vfs_info; 56 56 fs_handle_t fs_handle; 57 f utex_t phone_futex; /**< Phone serializing futex. */57 fibril_mutex_t phone_lock; 58 58 ipcarg_t phone; 59 59 } fs_info_t; … … 123 123 * Holding this rwlock prevents modifications of the node's contents. 124 124 */ 125 rwlock_t contents_rwlock;125 fibril_rwlock_t contents_rwlock; 126 126 } vfs_node_t; 127 127 … … 132 132 typedef struct { 133 133 /** Serializes access to this open file. */ 134 f utex_t lock;134 fibril_mutex_t lock; 135 135 136 136 vfs_node_t *node; … … 166 166 167 167 /** Holding this rwlock prevents changes in file system namespace. */ 168 extern rwlock_t namespace_rwlock;168 extern fibril_rwlock_t namespace_rwlock; 169 169 170 170 extern int vfs_grab_phone(fs_handle_t);
Note:
See TracChangeset
for help on using the changeset viewer.