Changeset 78433bb in mainline for uspace/srv/bd/hr/util.c


Ignore:
Timestamp:
2025-06-27T21:02:40Z (9 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
aa9bad8
Parents:
c69cbef
git-author:
Miroslav Cimerman <mc@…> (2025-06-27 21:01:51)
git-committer:
Miroslav Cimerman <mc@…> (2025-06-27 21:02:40)
Message:

hr: allocate in-memory metadata in format code

This will allow some formats to store in-memory
copy of metadata for each extent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/util.c

    rc69cbef r78433bb  
    159159        }
    160160
    161         vol->in_mem_md = vol->meta_ops->alloc_struct();
    162         if (vol->in_mem_md == NULL) {
    163                 free(vol->fge);
    164                 rc = ENOMEM;
    165                 goto error;
    166         }
    167 
    168161        vol->state = HR_VOL_NONE;
    169162
Note: See TracChangeset for help on using the changeset viewer.