* [LTP] [PATCH] syscalls/fanotify09.c: Fix wrong group number
@ 2018-12-10 9:58 Xiao Yang
2018-12-11 6:33 ` Amir Goldstein
0 siblings, 1 reply; 3+ messages in thread
From: Xiao Yang @ 2018-12-10 9:58 UTC (permalink / raw)
To: ltp
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
testcases/kernel/syscalls/fanotify/fanotify09.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/fanotify/fanotify09.c b/testcases/kernel/syscalls/fanotify/fanotify09.c
index 625634a..0f926c4 100644
--- a/testcases/kernel/syscalls/fanotify/fanotify09.c
+++ b/testcases/kernel/syscalls/fanotify/fanotify09.c
@@ -216,7 +216,7 @@ static void test_fanotify(unsigned int n)
ret = read(fd_notify[i], event_buf, FAN_EVENT_METADATA_LEN);
if (ret > 0) {
tst_res(TFAIL, "group %d got event", i);
- verify_event(0, event, FAN_CLOSE_NOWRITE);
+ verify_event(i, event, FAN_CLOSE_NOWRITE);
if (event->fd != FAN_NOFD)
SAFE_CLOSE(event->fd);
continue;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [LTP] [PATCH] syscalls/fanotify09.c: Fix wrong group number
2018-12-10 9:58 [LTP] [PATCH] syscalls/fanotify09.c: Fix wrong group number Xiao Yang
@ 2018-12-11 6:33 ` Amir Goldstein
2018-12-11 10:46 ` Petr Vorel
0 siblings, 1 reply; 3+ messages in thread
From: Amir Goldstein @ 2018-12-11 6:33 UTC (permalink / raw)
To: ltp
On Mon, Dec 10, 2018 at 11:58 AM Xiao Yang <yangx.jy@cn.fujitsu.com> wrote:
>
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Acked-by: Amir Goldstein <amir73il@gmail.com>
> ---
> testcases/kernel/syscalls/fanotify/fanotify09.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify09.c b/testcases/kernel/syscalls/fanotify/fanotify09.c
> index 625634a..0f926c4 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify09.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify09.c
> @@ -216,7 +216,7 @@ static void test_fanotify(unsigned int n)
> ret = read(fd_notify[i], event_buf, FAN_EVENT_METADATA_LEN);
> if (ret > 0) {
> tst_res(TFAIL, "group %d got event", i);
> - verify_event(0, event, FAN_CLOSE_NOWRITE);
> + verify_event(i, event, FAN_CLOSE_NOWRITE);
> if (event->fd != FAN_NOFD)
> SAFE_CLOSE(event->fd);
> continue;
> --
> 1.8.3.1
>
>
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] [PATCH] syscalls/fanotify09.c: Fix wrong group number
2018-12-11 6:33 ` Amir Goldstein
@ 2018-12-11 10:46 ` Petr Vorel
0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2018-12-11 10:46 UTC (permalink / raw)
To: ltp
Hi Xiao, Amir,
> On Mon, Dec 10, 2018 at 11:58 AM Xiao Yang <yangx.jy@cn.fujitsu.com> wrote:
> > Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
> Acked-by: Amir Goldstein <amir73il@gmail.com>
Thanks, pushed.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-11 10:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-10 9:58 [LTP] [PATCH] syscalls/fanotify09.c: Fix wrong group number Xiao Yang
2018-12-11 6:33 ` Amir Goldstein
2018-12-11 10:46 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox