Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/src/extent.c

    rf167c851 ra76e76b  
    888888                ext4_extent_path_t *old_root = path + 1;
    889889
    890                 for (int i = path->depth; i >= 0; i--)
    891                         path[i + 1] = path[i];
    892 
     890                size_t nbytes = sizeof(ext4_extent_path_t) * (path->depth + 1);
     891                memmove(old_root, new_root, nbytes);
    893892                memset(new_root, 0, sizeof(ext4_extent_path_t));
    894893
Note: See TracChangeset for help on using the changeset viewer.