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/metadata/foreign/softraid/hr_softraid.c

    rc69cbef r78433bb  
    5555
    5656static void *meta_softraid_alloc_struct(void);
    57 static errno_t meta_softraid_init_vol2meta(const hr_volume_t *, void *);
     57static errno_t meta_softraid_init_vol2meta(hr_volume_t *);
    5858static errno_t meta_softraid_init_meta2vol(const list_t *, hr_volume_t *);
    5959static void meta_softraid_encode(void *, void *);
     
    101101}
    102102
    103 static errno_t meta_softraid_init_vol2meta(const hr_volume_t *vol, void *md_v)
     103static errno_t meta_softraid_init_vol2meta(hr_volume_t *vol)
    104104{
    105105        (void)vol;
    106         (void)md_v;
     106
    107107        return ENOTSUP;
    108108}
Note: See TracChangeset for help on using the changeset viewer.