Commit 51cba214 authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] PATCH 16/16: NFSD: TCP: enable NFS over TCP via config option

Enable NFS over TCP via config option
parent afdb4fa2
...@@ -102,6 +102,7 @@ if [ "$CONFIG_NET" = "y" ]; then ...@@ -102,6 +102,7 @@ if [ "$CONFIG_NET" = "y" ]; then
dep_tristate 'NFS server support' CONFIG_NFSD $CONFIG_INET dep_tristate 'NFS server support' CONFIG_NFSD $CONFIG_INET
dep_mbool ' Provide NFSv3 server support' CONFIG_NFSD_V3 $CONFIG_NFSD dep_mbool ' Provide NFSv3 server support' CONFIG_NFSD_V3 $CONFIG_NFSD
dep_mbool ' Provide NFS server over TCP support (EXPERIMENTAL)' CONFIG_NFSD_TCP $CONFIG_NFSD $CONFIG_EXPERIMENTAL
if [ "$CONFIG_NFS_FS" = "y" -o "$CONFIG_NFSD" = "y" ]; then if [ "$CONFIG_NFS_FS" = "y" -o "$CONFIG_NFSD" = "y" ]; then
define_tristate CONFIG_SUNRPC y define_tristate CONFIG_SUNRPC y
......
...@@ -97,7 +97,7 @@ nfsd_svc(unsigned short port, int nrservs) ...@@ -97,7 +97,7 @@ nfsd_svc(unsigned short port, int nrservs)
if (error < 0) if (error < 0)
goto failure; goto failure;
#if 0 /* Don't even pretend that TCP works. It doesn't. */ #if CONFIG_NFSD_TCP
error = svc_makesock(nfsd_serv, IPPROTO_TCP, port); error = svc_makesock(nfsd_serv, IPPROTO_TCP, port);
if (error < 0) if (error < 0)
goto failure; goto failure;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment