On Tue, 4 Jan 2011 16:46:39 -0500 "J. Bruce Fields" <bfields@xxxxxxxxxxxx> wrote: > On Tue, Jan 04, 2011 at 03:51:07PM +1100, NeilBrown wrote: > > And this all made me realise that there is more code that can be placed under > > CONFIG_NFSD_DEPRECTATED. > > > > > > SUNRPC: Remove more code when NFSD_DEPRECATED is not configured > > > > Signed-off-by: NeilBrown <neilb@xxxxxxx> > > I did need one change to get a succesful !CONFIG_NFSD_DEPRECATED > compile. yep.... I had done a test compile, but I managed to get the sense of CONFIG_NFSD_DEPRECATED inverted :-( NeilBrown > > --b. > > diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c > index 46e1cbc..30916b0 100644 > --- a/net/sunrpc/svcauth_unix.c > +++ b/net/sunrpc/svcauth_unix.c > @@ -422,6 +422,7 @@ struct auth_domain *auth_unix_lookup(struct net *net, struct in6_addr *addr) > return rv; > } > EXPORT_SYMBOL_GPL(auth_unix_lookup); > +#endif /* CONFIG_NFSD_DEPRECATED */ > > void svcauth_unix_purge(void) > { > @@ -435,7 +436,6 @@ void svcauth_unix_purge(void) > } > } > EXPORT_SYMBOL_GPL(svcauth_unix_purge); > -#endif /* CONFIG_NFSD_DEPRECATED */ > > static inline struct ip_map * > ip_map_cached_get(struct svc_xprt *xprt) -- 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