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

Andrea Cervesato andrea.cervesato@suse.com
Wed Sep 17 14:41:47 CEST 2025


Hi Petr,

On 9/17/25 2:22 PM, Petr Vorel wrote:
>> -	struct stat st = {0};
>> -	if (stat(OT_MNTPOINT, &st) == -1)
>> +	if (access(OT_MNTPOINT, F_OK) != 0)
> Out of curiosity why this change? Faster?

Because in this way there's no need to declare any struct. I will 
achieve the rest of the review and send v3.

- Andrea


More information about the ltp mailing list