Function renaming to get better consistency

This commit is contained in:
Andrea Mazzoleni 2016-01-16 14:26:05 +01:00
parent 9ade11483e
commit d2991f736c
10 changed files with 50 additions and 50 deletions

View file

@ -303,7 +303,7 @@ int state_status(struct snapraid_state* state)
one_valid = 0;
for (node_disk = state->disklist; node_disk != 0; node_disk = node_disk->next) {
struct snapraid_disk* disk = node_disk->data;
struct snapraid_block* block = fs_par2block_maybe(disk, i);
struct snapraid_block* block = fs_par2block_find(disk, i);
if (block_has_file(block))
one_valid = 1;