Changeset 903bac0a in mainline for uspace/srv/fs/locfs/locfs.c
- Timestamp:
- 2011-08-19T09:00:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2ab36f1
- Parents:
- d894fbd (diff), 42a619b (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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/locfs/locfs.c
rd894fbd r903bac0a 32 32 33 33 /** 34 * @file devfs.c35 * @brief Devicesfile system.34 * @file locfs.c 35 * @brief Location-service file system. 36 36 * 37 * Every device registered to device mapperis represented as a file in this37 * Every service registered with location service is represented as a file in this 38 38 * file system. 39 39 */ … … 46 46 #include <task.h> 47 47 #include <libfs.h> 48 #include " devfs.h"49 #include " devfs_ops.h"48 #include "locfs.h" 49 #include "locfs_ops.h" 50 50 51 #define NAME " devfs"51 #define NAME "locfs" 52 52 53 static vfs_info_t devfs_vfs_info = {53 static vfs_info_t locfs_vfs_info = { 54 54 .name = NAME, 55 55 .concurrent_read_write = false, … … 61 61 printf("%s: HelenOS Device Filesystem\n", NAME); 62 62 63 if (! devfs_init()) {64 printf("%s: failed to initialize devfs\n", NAME);63 if (!locfs_init()) { 64 printf("%s: failed to initialize locfs\n", NAME); 65 65 return -1; 66 66 } … … 73 73 } 74 74 75 int rc = fs_register(vfs_sess, & devfs_vfs_info, &devfs_ops,76 & devfs_libfs_ops);75 int rc = fs_register(vfs_sess, &locfs_vfs_info, &locfs_ops, 76 &locfs_libfs_ops); 77 77 if (rc != EOK) { 78 78 printf("%s: Failed to register file system (%d)\n", NAME, rc);
Note:
See TracChangeset
for help on using the changeset viewer.