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)
commit9f4c899c0d90e1b51b6864834f3877b47c161a0e
tree862f6b59919392fbf7a82200a7c478b51defeaa9
parent01d37c428ae080563c0a3bb8bdfa88c65a6891d3
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
d7371c41b0cda782256b1df759df4e8d4724584c ("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