Re: [PATCH] [RFC] Remove bdflush syscall stub

Cyril Hrubis
2019-05-28T10:40:22Z

Hi!
> > I've tested the patch on i386. Before the patch calling bdflush() with
> > attempt to tune a variable returned 0 and after the patch the syscall
> > fails with EINVAL.
>
> Should be ENOSYS, doesn't it?

My bad, the LTP syscall wrapper handles ENOSYS and produces skipped
results based on that.

EINVAL is what you get for not yet implemented syscalls, i.e. new
syscall on old kernel.

--
Cyril Hrubis
chrubis@suse.cz