Changeset 2f21cd4 in mainline


Ignore:
Timestamp:
2025-05-08T17:40:57Z (4 weeks ago)
Author:
Miroslav Cimerman <mc@…>
Children:
00d80c6
Parents:
aca1777
Message:

hr: util.c: fix hotspare blkno check

File:
1 edited

Legend:

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

    raca1777 r2f21cd4  
    10381038        }
    10391039
    1040         if (hs_blkno - vol->meta_ops->get_size() < vol->truncated_blkno) {
     1040        if (hs_blkno < vol->truncated_blkno) {
    10411041                HR_ERROR("%s(): hotspare (%" PRIun ") doesn't have enough "
    10421042                    "blocks\n", __func__, hotspare);
Note: See TracChangeset for help on using the changeset viewer.