On Mon, Apr 26, 2021 at 12:15 PM Amir Goldstein <amir73il@xxxxxxxxx> wrote: > > On Mon, Apr 26, 2021 at 1:07 PM Miklos Szeredi <miklos@xxxxxxxxxx> wrote: > > The other case you found it that in case of a stale direntry the i_ino > > update will be skipped and so it will return an inconsistent result, > > right? > > Right. It returns a stale entry with the old real ino. > Not sure if that is an "inconsistent" result. > inconsistent w.r.t what? It's inconsistent with previous (before the entry got deleted) st_ino/i_ino. This should actually be testable. But it was a long time ago that I fully understood the readdir code, so I might be missing something. Thanks, Miklos