Changeset 240b2e4 in mainline for uspace/lib/ext4/src/extent.c


Ignore:
Timestamp:
2025-04-13T19:05:55Z (3 months ago)
Author:
GitHub <noreply@…>
Children:
c7c6afd
Parents:
62e3411 (diff), 28c39f3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Wayne Thornton <wmthornton-dev@…> (2025-04-13 19:05:55)
git-committer:
GitHub <noreply@…> (2025-04-13 19:05:55)
Message:

Merge branch 'HelenOS:master' into master

File:
1 edited

Legend:

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

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