net: nfs: Only link in NFS code outside of SPL builds
authorTom Rini <trini@konsulko.com>
Fri, 6 Dec 2019 00:35:07 +0000 (19:35 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:41 +0000 (09:47 -0600)
commita6ab4b5470afadbc0f2a3d70437e3ccb88d8fa5c
treeaf2b40a383934653ef465f8e87cf020b84e4d1a9
parent6f8215681a0af8eb58ce4a112834b2ddcd547912
net: nfs: Only link in NFS code outside of SPL builds

While we have networking use cases within SPL we do not support loading
files via NFS at this point in time.  Disable calling nfs_start() so
that the NFS related code can be garbage collected at link time.

Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/net.c