Doesn't fail in filephy() after an unexpected error. There are too many filesystem to know that are expected errors.

This commit is contained in:
Andrea Mazzoleni 2013-09-24 21:45:07 +02:00
parent ef969263cd
commit 4eee6b9c4a
2 changed files with 9 additions and 14 deletions

2
scan.c
View file

@ -919,6 +919,8 @@ void state_scan(struct snapraid_state* state, int output)
}
/* sort the files before inserting them */
/* we use a stable sort to ensure that if the reported physical offset/inode */
/* are always 0, we keep at least the directory order */
switch (state->opt.force_order) {
case SORT_PHYSICAL :
tommy_list_sort(&scan->file_insert_list, file_physical_compare);