[LTP] [PATCH v2] fanotify13: fix test failure when running iterations
Petr Vorel
pvorel@suse.cz
Wed Jun 3 13:51:19 CEST 2026
Hi all,
> On Wed, Jun 3, 2026 at 3:58 AM AnonymeMeow <anonymemeow@gmail.com> wrote:
> > The FAN_DELETE_SELF test case removes test files, causing later
> > iterations to crash. Recreate the removed files after the test to
> > restore the expected initial state. And adjust the overlayfs mount
> > timing to avoid creating files directly in the filesystem underneath
> > the already mounted overlayfs.
> > Signed-off-by: AnonymeMeow <anonymemeow@gmail.com>
> > ---
> > Hi, Amir,
> > I tested your suggested solution, but the overlayfs mount failed with:
> > fanotify13.c:165: TBROK: overlayfs mount failed: ESTALE (116)
> > So I kept clean_upper_dir() in restore_objects() to restore the expected
> > initial state.
> Ok no problem. This is fine too.
> Thanks,
> Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Good, merged, thank you!
Kind regards,
Petr
More information about the ltp
mailing list