Changeset 92fd52d7 in mainline for uspace/srv/vfs/vfs_ops.c
- Timestamp:
- 2009-04-09T21:16:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7afb4a5
- Parents:
- a2c58f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ops.c
ra2c58f6 r92fd52d7 92 92 /* We already have the root FS. */ 93 93 rwlock_write_lock(&namespace_rwlock); 94 if ( (strlen(mp) == 1) && (mp[0] == '/')) {94 if (str_cmp(mp, "/") == 0) { 95 95 /* Trying to mount root FS over root FS */ 96 96 rwlock_write_unlock(&namespace_rwlock); … … 125 125 } else { 126 126 /* We still don't have the root file system mounted. */ 127 if ( (strlen(mp) == 1) && (mp[0] == '/')) {127 if (str_cmp(mp, "/") == 0) { 128 128 vfs_lookup_res_t mr_res; 129 129 vfs_node_t *mr_node;
Note:
See TracChangeset
for help on using the changeset viewer.