Re: [LTP] [PATCH v4 07/13] Add statmount02 test

Cyril Hrubis
2024-10-02T15:16:50Z

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