If file inode was not changed, cached file information was not updated
on retest. As a result stale information might be cached forever if file
attributes was changed and/or file was extended.
This fix also makes obsolete r4077 change of is_directio flag handling,
since this flag is updated together with other file information.
if (of->uniq == file->uniq) {
- file->count++;
-
if (file->event) {
file->use_event = 1;
}
- of->is_directio = file->is_directio;
-
- goto renew;
+ goto update;
}
/* file was changed */
}
}
-renew:
-
file->created = now;
found: