Changeset 66366470 in mainline for uspace/srv
- Timestamp:
- 2013-07-04T18:55:31Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9dc6083
- Parents:
- d8b47eca
- Location:
- uspace/srv
- Files:
-
- 4 edited
-
fs/mfs/mfs_ops.c (modified) (3 diffs)
-
vfs/vfs.c (modified) (1 diff)
-
vfs/vfs.h (modified) (1 diff)
-
vfs/vfs_ops.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_ops.c
rd8b47eca r66366470 64 64 static int mfs_check_sanity(struct mfs_sb_info *sbi); 65 65 static bool is_power_of_two(uint32_t n); 66 static unsigned int mfs_size_block(fs_node_t *fsnode); 66 67 67 68 static hash_table_t open_nodes; … … 84 85 .destroy = mfs_destroy_node, 85 86 .has_children = mfs_has_children, 86 .lnkcnt_get = mfs_lnkcnt_get 87 .lnkcnt_get = mfs_lnkcnt_get, 88 .size_block = mfs_size_block 87 89 }; 88 90 … … 1136 1138 } 1137 1139 1140 static unsigned int 1141 mfs_size_block(fs_node_t *fsnode) 1142 { 1143 if ( NULL == fsnode ) 1144 return 0; 1145 /* Get block size from superblock */ 1146 return 512; 1147 } 1148 1138 1149 vfs_out_ops_t mfs_ops = { 1139 1150 .mounted = mfs_mounted, -
uspace/srv/vfs/vfs.c
rd8b47eca r66366470 130 130 vfs_get_mtab(callid, &call); 131 131 break; 132 case VFS_IN_STATFS: 133 vfs_statfs(callid, &call); 134 break; 132 135 default: 133 136 async_answer_0(callid, ENOTSUP); -
uspace/srv/vfs/vfs.h
rd8b47eca r66366470 222 222 extern void vfs_wait_handle(ipc_callid_t, ipc_call_t *); 223 223 extern void vfs_get_mtab(ipc_callid_t, ipc_call_t *); 224 extern void vfs_statfs(ipc_callid_t, ipc_call_t *); 224 225 225 226 #endif -
uspace/srv/vfs/vfs_ops.c
rd8b47eca r66366470 1418 1418 } 1419 1419 1420 void vfs_statfs(ipc_callid_t rid, ipc_call_t *request) 1421 { 1422 long long reply; 1423 1424 /* Get information about fs */ 1425 reply = 512; 1426 async_answer_1(rid, EOK, reply); 1427 } 1428 1420 1429 /** 1421 1430 * @}
Note:
See TracChangeset
for help on using the changeset viewer.
