Changes in uspace/srv/fs/cdfs/cdfs_ops.c [feeac0d:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/cdfs/cdfs_ops.c
rfeeac0d r3e6a98c5 365 365 366 366 /* Check for duplicate entries */ 367 list_foreach(parent->cs_list, link, cdfs_dentry_t, dentry) { 367 list_foreach(parent->cs_list, link) { 368 cdfs_dentry_t *dentry = 369 list_get_instance(link, cdfs_dentry_t, link); 370 368 371 if (str_cmp(dentry->name, name) == 0) 369 372 return EEXIST; … … 521 524 } 522 525 523 list_foreach(parent->cs_list, link, cdfs_dentry_t, dentry) { 526 list_foreach(parent->cs_list, link) { 527 cdfs_dentry_t *dentry = 528 list_get_instance(link, cdfs_dentry_t, link); 529 524 530 if (str_cmp(dentry->name, component) == 0) { 525 531 *fn = get_cached_node(parent->service_id, dentry->index); … … 654 660 */ 655 661 if ((vol_desc->type != VOL_DESC_PRIMARY) || 656 ( memcmp(vol_desc->standard_ident, CDFS_STANDARD_IDENT, 5) != 0) ||662 (bcmp(vol_desc->standard_ident, CDFS_STANDARD_IDENT, 5) != 0) || 657 663 (vol_desc->version != 1)) { 658 664 block_put(block);
Note:
See TracChangeset
for help on using the changeset viewer.