]> 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)
commita8d53cec433fb598a00874949ec9a58c59f5034c
treed1de6fc7bc59a8f039764c5010ff9d282cae4b7f
parent39f1dbb060413d3eca8a702e75d75ce85fdaacc1
nfsroot: set tcp as the default transport protocol

UDP is disabled by default in commit 5f894806808d ("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: 5f894806808d ("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