[LTP] [PATCH 3/5] syscalls/fanotify09: Read variable length events

Petr Vorel pvorel@suse.cz
Mon Dec 7 12:57:41 CET 2020


Hi Amir,

> > In preparation of testing events with filename info, teach the
> > how to read variable length events and parse the name info.

> This commit broke umount() on old kernels. (LTP lib doing multiple attempts is
> useless here). Not sure what exactly is being used, it's not by staing in
> mounted directory. Any idea how to fix it?

Using umount2(MOUNT_NAME, MNT_DETACH) obviously fixes umount, but not sure if
fixing something in the test would allow to use tst_umount().

Kind regards,
Petr


More information about the ltp mailing list