Changes in uspace/lib/ext4/src/extent.c [09ab0a9a:f167c851] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/src/extent.c
r09ab0a9a rf167c851 643 643 644 644 uint16_t delete_count = block_count - 645 ( ext4_extent_get_start(path_ptr->extent) - first_fblock);645 (first_fblock - ext4_extent_get_start(path_ptr->extent)); 646 646 647 647 /* Release all blocks */ … … 888 888 ext4_extent_path_t *old_root = path + 1; 889 889 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 892 893 memset(new_root, 0, sizeof(ext4_extent_path_t)); 893 894
Note:
See TracChangeset
for help on using the changeset viewer.