Rev 4345 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4345 | Rev 4348 | ||
|---|---|---|---|
| Line 374... | Line 374... | ||
| 374 | if (lock) |
374 | if (lock) |
| 375 | futex_down(&fs_head_futex); |
375 | futex_down(&fs_head_futex); |
| 376 | link_t *cur; |
376 | link_t *cur; |
| 377 | for (cur = fs_head.next; cur != &fs_head; cur = cur->next) { |
377 | for (cur = fs_head.next; cur != &fs_head; cur = cur->next) { |
| 378 | fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link); |
378 | fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link); |
| 379 | if (strncmp(fs->vfs_info.name, name, |
379 | if (str_cmp(fs->vfs_info.name, name) == 0) { |
| 380 | sizeof(fs->vfs_info.name)) == 0) { |
- | |
| 381 | handle = fs->fs_handle; |
380 | handle = fs->fs_handle; |
| 382 | break; |
381 | break; |
| 383 | } |
382 | } |
| 384 | } |
383 | } |
| 385 | if (lock) |
384 | if (lock) |