Changeset bbcd06e in mainline for uspace/srv/bd/hr/util.c
- Timestamp:
- 2025-04-01T10:20:06Z (4 months ago)
- Children:
- ca7fa5b
- Parents:
- 52be5fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/util.c
r52be5fa rbbcd06e 792 792 vol->truncated_blkno = main_md->truncated_blkno; 793 793 vol->data_offset = main_md->data_offset; 794 vol->counter = main_md->counter;795 794 vol->metadata_version = main_md->version; 796 795 vol->extent_no = main_md->extent_no; … … 824 823 825 824 /* 826 * TODO: something like mark md dirty or whatever, just sync the 827 * vol->counter with vol->in_mem_md->counter, or merge them and only 828 * keep the vol->in_mem_md->counter... 825 * TODO: something like mark md dirty or whatever 826 * - probably will be handled by each md type differently, 827 * by specific function pointers 828 * - deal with this when foreign md will be handled 829 829 * 830 830 * XXX: if thats the only thing that can change in metadata … … 836 836 * write... but for now leave it here 837 837 */ 838 vol->counter++; 839 vol->in_mem_md->counter = vol->counter; 838 vol->in_mem_md->counter++; 840 839 841 840 hr_metadata_save(vol);
Note:
See TracChangeset
for help on using the changeset viewer.