[LTP] [PATCH 2/2] tst_device: Move tst_dev_sync() into from header to source file
Petr Vorel
pvorel@suse.cz
Mon Jan 20 14:52:43 CET 2020
Hi,
...
> -static inline int tst_dev_sync(int fd)
> -{
> - return syscall(__NR_syncfs, fd);
> -}
> +static int tst_dev_sync(int fd);
This is obviously wrong.
> diff --git a/lib/tst_device.c b/lib/tst_device.c
...
> +static int tst_dev_sync(int fd)
And here as well.
> +{
> + return syscall(__NR_syncfs, fd);
> +}
Sorry for wrong patch.
Kind regards,
Petr
More information about the ltp
mailing list