]> git.baikalelectronics.ru Git - kernel.git/commit
nfsroot: set tcp as the default transport protocol
authorLiwei Song <liwei.song@windriver.com>
Wed, 25 Mar 2020 03:50:13 +0000 (11:50 +0800)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 25 Mar 2020 12:45:47 +0000 (08:45 -0400)
commitf0a3e0be1536c2bfdb9eb512bf14df7b81e2766b
treed1de6fc7bc59a8f039764c5010ff9d282cae4b7f
parent929844bfbce7ffcc3c35b197bb558fc7ecd84647
nfsroot: set tcp as the default transport protocol

UDP is disabled by default in commit 744135ec075b ("NFS: allow
deprecation of NFS UDP protocol"), but the default mount options
is still udp, change it to tcp to avoid the "Unsupported transport
protocol udp" error if no protocol is specified when mount nfs.

Fixes: 744135ec075b ("NFS: allow deprecation of NFS UDP protocol")
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfsroot.c