On Nov 15, 2013, at 18:16, Trond Myklebust <trondmy@xxxxxxxxx> wrote: > On Fri, 2013-11-15 at 17:30 -0500, Anna Schumaker wrote: >> My recent patch 644aa303: "NFS: Enabling v4.2 should not recompile nfsd >> and lockd" caused build errors when CONFIG_NFS_USE_LEGACY_DNS=y and when >> CONFIG_NFS_V4=n. This patch fixes those errors. >> > > Wait... > > config NFS_USE_LEGACY_DNS > bool "Use the legacy NFS DNS resolver" > depends on NFS_V4 > help > The kernel now provides a method for translating a host name into an > IP address. Select Y here if you would rather use your own DNS > resolver script. > > If unsure, say N > > config NFS_USE_KERNEL_DNS > bool > depends on NFS_V4 && !NFS_USE_LEGACY_DNS > select DNS_RESOLVER > default y > > How can that result in NFS_V4=n && NFS_USE_LEGACY_DNS=y? OK. The problem is resolved using an include of nfs_fs.h in the right spot. Will fix… -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html