PhotoRec: use the blocksize when available even if carving data from whole space.
This commit is contained in:
parent
4c034fdba3
commit
1c413f50f7
1 changed files with 4 additions and 0 deletions
|
@ -262,6 +262,10 @@ void menu_photorec(struct ph_param *params, struct ph_options *options, alloc_da
|
|||
* To carve the whole space, need to quit and reselect the params->partition */
|
||||
done = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
params->blocksize=params->partition->blocksize;
|
||||
}
|
||||
photorec(params, options, list_search_space);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue