From: Chuck Lever Date: Thu, 18 Jun 2009 01:02:10 +0000 (-0700) Subject: NFS: Fix false error return from nfs_callback_up() if ipv6.ko is not available X-Git-Tag: v2.6.31-rc1~58^2~2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18fc31641925867c871bc75270ce642c039188d3;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed