/trunk/uspace/lib/libfs/libfs.h |
---|
49,6 → 49,12 |
extern int fs_register(int, fs_reg_t *, vfs_info_t *, async_client_conn_t); |
extern int block_read(int, unsigned long, void *); |
extern int block_write(int, unsigned long, void *); |
extern void node_add_mp(int, unsigned long); |
extern void node_del_mp(int, unsigned long); |
extern bool node_is_mp(int, unsigned long); |
#endif |
/** @} |
/trunk/uspace/srv/fs/fat/fat.h |
---|
138,18 → 138,6 |
extern void fat_lookup(ipc_callid_t, ipc_call_t *); |
/* |
* The following interfaces are rather fs-neutral and might be later moved to a |
* dedicated library (e.g. libfs). We just wait until the interfaces stabilize |
* and until there is more than one fs implementation. |
*/ |
extern int block_read(int, unsigned long, void *); |
extern int block_write(int, unsigned long, void *); |
extern void node_add_mp(int, unsigned long); |
extern void node_del_mp(int, unsigned long); |
extern bool node_is_mp(int, unsigned long); |
#endif |
/** |
/trunk/uspace/srv/fs/fat/fat.c |
---|
114,10 → 114,6 |
} |
} |
int block_read(int dev_handle, unsigned long blkno, void *buf) |
{ |
} |
int main(int argc, char **argv) |
{ |
int vfs_phone; |
137,7 → 133,8 |
return rc; |
} |
dprintf("FAT filesystem registered, fs_handle=%d.\n", fat_reg.fs_handle); |
dprintf("FAT filesystem registered, fs_handle=%d.\n", |
fat_reg.fs_handle); |
async_manager(); |
/* not reached */ |