mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 11:26:48 -05:00
Uses O_NOATIME if possible.
This commit is contained in:
parent
8f4e5e88a3
commit
db6ff47062
6 changed files with 22 additions and 9 deletions
2
scan.c
2
scan.c
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue