[LTP] [PATCH] inotify: cleanup - limit masks, use SAFE_ wrappers
Jinseok Kim
always.starving0@gmail.com
Mon Feb 16 17:50:12 CET 2026
Hi Vorel,
Thanks for the review!
- inotify12.c needs read() because EAGAIN (“no second event”) is a
valid case that must be explicitly detected and treated as IN_IGNORED.
- inotify07.c does not require this distinction: SAFE_READ() is enough,
since EAGAIN just means end-of-events, while real errors are handled as
TBROK, matching the original test intent.
Best regards,
Jinseok.
More information about the ltp
mailing list