aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/clntproc.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-06-17 18:02:10 -0700
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-06-17 18:02:10 -0700
commit18fc31641925867c871bc75270ce642c039188d3 (patch)
tree2aad9b2c61fac3507526e41c719e1c989ad19a5e /fs/lockd/clntproc.c
parentNFS: Return error code from nfs_callback_up() to user space (diff)
downloadlinux-dev-18fc31641925867c871bc75270ce642c039188d3.tar.xz
linux-dev-18fc31641925867c871bc75270ce642c039188d3.zip
NFS: Fix false error return from nfs_callback_up() if ipv6.ko is not available
Clear "ret" if the error return from svc_create_xprt(AF_INET6) was -EAFNOSUPORT. Otherwise, callback start-up will succeed, but nfs_callback_up() will return -EAFNOSUPPORT anyway, and the first NFSv4 mount attempt after a reboot will fail. Bug introduced by commit f738f517 in 2.6.30-rc1. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd/clntproc.c')
0 files changed, 0 insertions, 0 deletions