Re: [BISECT BUG] NFS v4 root not working after 6d972518b821 ("NFS: Add fs_context support.")

From: David Howells
Date: Fri Jan 17 2020 - 10:44:42 EST


Trond Myklebust <trondmy@xxxxxxxxxxxxxxx> wrote:

> It looks like someone changed the return value from the old EINVAL to
> something else? The "Numerical result out of range" message above
> suggests it has been changed to EOVERFLOW, which probably is not
> supported by 'mount'.

Ah, I see what's happened. nfs_get_option_ui_bound() returns -ERANGE and the
new code lets this through whereas the old code converted it to -EINVAL.

David