mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 09:56:29 -05:00
Sorts files by inode before calling stat().
This commit is contained in:
parent
ec172efb5c
commit
8ea5ed3230
8 changed files with 171 additions and 28 deletions
2
import.c
2
import.c
|
|
@ -238,7 +238,7 @@ static void import_dir(struct snapraid_state* state, const char* dir)
|
|||
pathslash(path, sizeof(path));
|
||||
pathcat(path, sizeof(path), name);
|
||||
|
||||
#if HAVE_DIRENT_LSTAT
|
||||
#if HAVE_STRUCT_DIRENT_D_STAT
|
||||
/* convert dirent to lstat result */
|
||||
dirent_lstat(dd, &st);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue