Sorts files by inode before calling stat().

This commit is contained in:
Andrea Mazzoleni 2013-10-02 23:05:22 +02:00
parent ec172efb5c
commit 8ea5ed3230
8 changed files with 171 additions and 28 deletions

2
pool.c
View file

@ -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