提交 aa3367c9 编写于 作者: P Petr Vorel 提交者: Trond Myklebust

NFS: Don't specify NFS version in "UDP not supported" error

UDP was originally disabled in 6da1a034 for NFSv4. Later in
b24ee6c6 UDP is by default disabled by NFS_DISABLE_UDP_SUPPORT=y for
all NFS versions. Therefore remove v4 from error message.

Fixes: b24ee6c6 ("NFS: allow deprecation of NFS UDP protocol")
Signed-off-by: NPetr Vorel <pvorel@suse.cz>
Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com>
上级 89c8023f
无相关合并请求
......@@ -1135,7 +1135,7 @@ static int nfs4_parse_monolithic(struct fs_context *fc,
return nfs_invalf(fc, "NFS4: mount program didn't pass remote address");
out_invalid_transport_udp:
return nfs_invalf(fc, "NFSv4: Unsupported transport protocol udp");
return nfs_invalf(fc, "NFS: Unsupported transport protocol udp");
}
#endif
......@@ -1257,7 +1257,7 @@ static int nfs_fs_context_validate(struct fs_context *fc)
nfs_errorf(fc, "NFS: NFSv4 is not compiled into kernel");
return -EPROTONOSUPPORT;
out_invalid_transport_udp:
return nfs_invalf(fc, "NFSv4: Unsupported transport protocol udp");
return nfs_invalf(fc, "NFS: Unsupported transport protocol udp");
out_no_address:
return nfs_invalf(fc, "NFS: mount program didn't pass remote address");
out_mountproto_mismatch:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部