Changeset e54ba607 in mainline for uspace/srv/fs/minixfs/mfs_ops.c
- Timestamp:
- 2011-03-17T20:10:42Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a58ae2
- Parents:
- 3b08178
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_ops.c
r3b08178 re54ba607 37 37 #include "mfs.h" 38 38 #include "mfs_utils.h" 39 #include "../../vfs/vfs.h"40 39 41 40 static bool check_magic_number(uint16_t magic, bool *native, … … 45 44 static FIBRIL_MUTEX_INITIALIZE(inst_list_mutex); 46 45 47 libfs_ops_t mfs_libfs_ops; 46 libfs_ops_t mfs_libfs_ops = { 47 .device_get = mfs_device_get 48 }; 48 49 49 50 void mfs_mounted(ipc_callid_t rid, ipc_call_t *request) … … 195 196 } 196 197 198 devmap_handle_t mfs_device_get(fs_node_t *fsnode) 199 { 200 struct mfs_node *node = fsnode->data; 201 return node->instance->handle; 202 } 203 197 204 /* 198 205 * Find a filesystem instance given the devmap handle
Note:
See TracChangeset
for help on using the changeset viewer.