[LTP] [PATCH v4 07/13] Add statmount02 test
    Cyril Hrubis 
    chrubis@suse.cz
       
    Wed Oct  2 17:15:21 CEST 2024
    
    
  
Hi!
> +static void run(void)
> +{
> +	memset(st_mount, 0, sizeof(struct statmount));
> +
> +	TST_EXP_PASS(statmount(sx_mount->data.stx_mnt_id, STATMOUNT_SB_BASIC,
> +		st_mount, sizeof(struct statmount), 0));
> +
> +	if (TST_RET == -1)
> +		return;
Same here if (!TST_PASS)
The rest looks good:
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
-- 
Cyril Hrubis
chrubis@suse.cz
    
    
More information about the ltp
mailing list