Uses O_NOATIME if possible.

This commit is contained in:
Andrea Mazzoleni 2012-11-03 23:57:12 +01:00
parent 8f4e5e88a3
commit db6ff47062
6 changed files with 22 additions and 9 deletions

2
scan.c
View file

@ -454,7 +454,7 @@ static void scan_dir(struct snapraid_scan* scan, struct snapraid_state* state, i
const char* name;
struct dirent* dd;
/* clear errno to detect errneous conditions */
/* clear errno to detect erroneous conditions */
errno = 0;
dd = readdir(d);
if (dd == 0 && errno != 0) {