mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
NFS: Don't specify NFS version in "UDP not supported" error
UDP was originally disabled in6da1a03436
for NFSv4. Later inb24ee6c64c
UDP is by default disabled by NFS_DISABLE_UDP_SUPPORT=y for all NFS versions. Therefore remove v4 from error message. Fixes:b24ee6c64c
("NFS: allow deprecation of NFS UDP protocol") Signed-off-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
parent
89c8023fd4
commit
aa3367c91d
1 changed files with 2 additions and 2 deletions
|
@ -1135,7 +1135,7 @@ out_no_address:
|
||||||
return nfs_invalf(fc, "NFS4: mount program didn't pass remote address");
|
return nfs_invalf(fc, "NFS4: mount program didn't pass remote address");
|
||||||
|
|
||||||
out_invalid_transport_udp:
|
out_invalid_transport_udp:
|
||||||
return nfs_invalf(fc, "NFSv4: Unsupported transport protocol udp");
|
return nfs_invalf(fc, "NFS: Unsupported transport protocol udp");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1257,7 +1257,7 @@ out_v4_not_compiled:
|
||||||
nfs_errorf(fc, "NFS: NFSv4 is not compiled into kernel");
|
nfs_errorf(fc, "NFS: NFSv4 is not compiled into kernel");
|
||||||
return -EPROTONOSUPPORT;
|
return -EPROTONOSUPPORT;
|
||||||
out_invalid_transport_udp:
|
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:
|
out_no_address:
|
||||||
return nfs_invalf(fc, "NFS: mount program didn't pass remote address");
|
return nfs_invalf(fc, "NFS: mount program didn't pass remote address");
|
||||||
out_mountproto_mismatch:
|
out_mountproto_mismatch:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue