]> git.baikalelectronics.ru Git - kernel.git/commit
nfsroot: Default mount option should ask for built-in NFS version
authorHelge Deller <deller@gmx.de>
Fri, 16 Oct 2020 10:13:00 +0000 (12:13 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 2 Nov 2020 15:29:03 +0000 (10:29 -0500)
commit553c2b64def18bf357868b5c9910f6a49350b80d
tree866b2dface9d4f3890c15a4814e1ee7574239d9b
parenta5b4f6b821b1563b54d8e4615d1b6ea21b7dc9d9
nfsroot: Default mount option should ask for built-in NFS version

Change the nfsroot default mount option to ask for NFSv2 only *if* the
kernel was built with NFSv2 support.
If not, default to NFSv3 or as last choice to NFSv4, depending on actual
kernel config.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfsroot.c