NFS: Don't specify NFS version in "UDP not supported" error
authorPetr Vorel <pvorel@suse.cz>
Tue, 24 Mar 2020 20:08:49 +0000 (21:08 +0100)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 25 Mar 2020 12:46:34 +0000 (08:46 -0400)
commitaa3367c91d360db4dc7cbd458c05a6a631aa7af1
treed8ca1929155e68054498fd33a58f9b15f15745a6
parent89c8023fd46167a41246a56b31d1b3c9a20b6970
NFS: Don't specify NFS version in "UDP not supported" error

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

Fixes: b24ee6c64ca7 ("NFS: allow deprecation of NFS UDP protocol")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/fs_context.c