[LTP] fanotify22.c: handle multiple asynchronous error events

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Thu May 7 08:18:51 CEST 2026


Hi Wei,

On Thu, 07 May 2026 02:53:33 +0000, Wei Gao wrote:
> fanotify22.c: handle multiple asynchronous error events

Reviewed-by: LTP AI Reviewer <ltp-ai@noreply.github.com>

Pre-existing issues noticed in the surrounding code (not introduced
by this patch):

- fanotify22.c:do_test — poll() returning -1 (e.g. EINTR) is treated
  identically to a timeout, producing a misleading "Timeout waiting for
  events" TFAIL message.

---
Note:

Our agent completed the review of the patch.

The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer


More information about the ltp mailing list