mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-24 17:06:25 -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
pool.c
2
pool.c
|
|
@ -60,7 +60,7 @@ static int clean_dir(struct snapraid_state* state, const char* dir)
|
|||
|
||||
pathprint(path_next, sizeof(path_next), "%s%s", dir, 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