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