[LTP] [PATCH] fanotify06: add a test case for overlayfs
Petr Vorel
pvorel@suse.cz
Mon Jun 3 16:18:53 CEST 2019
Hi Amir,
...
> > diff --git a/testcases/kernel/syscalls/fanotify/fanotify06.c b/testcases/kernel/syscalls/fanotify/fanotify06.c
> > index 6a2e2494f..62defb23c 100644
> > --- a/testcases/kernel/syscalls/fanotify/fanotify06.c
> > +++ b/testcases/kernel/syscalls/fanotify/fanotify06.c
> > @@ -54,8 +54,23 @@ static int fd_notify[FANOTIFY_PRIORITIES][GROUPS_PER_PRIO];
> > static char event_buf[EVENT_BUF_LEN];
> > -#define MOUNT_NAME "mntpoint"
> > +#define MNTPOINT "mntpoint"
> > +#define OVL_LOWER "ovl-lower"
> > +#define OVL_UPPER "ovl-upper"
> > +#define OVL_WORK "ovl-work"
> > +#define OVL_MNT "ovl-mnt"
I guess you're going to send v2 with {SAFE,TST}_MOUNT_OVERLAY() or .needs_overlay usage from library.
...
Kind regards,
Petr
More information about the ltp
mailing list