[LTP] [PATCH 2/2] mount_setattr01: add open_tree_attr variant

Cyril Hrubis chrubis@suse.cz
Fri Aug 29 14:55:56 CEST 2025


Hi!
> > The tst_variant was implemented exactly for the case where we have
> > different syscalls doing the same job. In this case a shortcut was added
> > that does open_tree + mount_setattr in a single syscall, so using
> > variants is very reasonable choice.
> 
> Is it a free for all to merge the patch?

And does it work correctly on kernels older than 6.15? I do not see any
checks for the open_tree_attr() syscall availability.

Apart from that there are a few minor things to fix, I will do a proper
review.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list