]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix the fix to Bugzilla #11061, when IPv6 isn't defined...
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 12 Mar 2009 18:51:32 +0000 (14:51 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 12 Mar 2009 18:51:32 +0000 (14:51 -0400)
commit77160c17d781d9950cf8187319f6a95deba991c0
tree862f6b59919392fbf7a82200a7c478b51defeaa9
parent47faa72069559c5045c66719db1472853164e64b
NFS: Fix the fix to Bugzilla #11061, when IPv6 isn't defined...

Stephen Rothwell reports:

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

fs/built-in.o: In function `.nfs_get_client':
client.c:(.text+0x115010): undefined reference to `.__ipv6_addr_type'

Fix by moving the IPV6 specific parts of commit
25b52bce35062ed4d4340e857c5890f6b1a9cc1e ("Bug 11061, NFS mounts dropped")
into the '#ifdef IPV6..." section.

Also fix up a couple of formatting issues.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c