[LTP] [PATCH] syscalls/inotify: New test for IN_DELETE regression

Petr Vorel pvorel@suse.cz
Thu Feb 3 08:59:35 CET 2022


Hi Amir,

thanks for this test.

> Check that files cannot be opened after IN_DELETE was reported
> on them.

> This test is based on the reproducer provided by Ivan Delalande
> for a regression reported in kernel v5.13:
> https://lore.kernel.org/linux-fsdevel/YeNyzoDM5hP5LtGW@visor/

> Reported-by: Ivan Delalande <colona@arista.com>
> Signed-off-by: Amir Goldstein <amir73il@gmail.com>
> ---

> Hi Petr,

> The fix for this regression was applied to stable kernels
> 5.4.y, 5.10.y, 5.15.y, 5.16.y.
> The mentioned git tag is only the upstream commit.
> Feel free to add the stable git tags if you think they are needed.
FYI we don't track stable git commits which are normally backported
(vast majority of commits), we track only stable git specific fixes,
i.e.:

* c4a23c852e80 ("io_uring: Fix current->fs handling in io_sq_wq_submit_work()")

"No upstream commit, this is a fix to a stable 5.4 specific backport."

* cac68d12c531 ("io_uring: grab ->fs as part of async offload")

[ Upstream commits 9392a27d88b9 and ff002b30181d ]

Mentioned at note:
https://github.com/linux-test-project/ltp/wiki/C-Test-API#138-test-tags

The reason is that user can search simple backports himself.

Kind regards,
Petr


More information about the ltp mailing list