Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
51cba214
Commit
51cba214
authored
Feb 25, 2002
by
Neil Brown
Committed by
Linus Torvalds
Feb 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PATCH 16/16: NFSD: TCP: enable NFS over TCP via config option
Enable NFS over TCP via config option
parent
afdb4fa2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
fs/Config.in
fs/Config.in
+1
-0
fs/nfsd/nfssvc.c
fs/nfsd/nfssvc.c
+1
-1
No files found.
fs/Config.in
View file @
51cba214
...
@@ -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
...
...
fs/nfsd/nfssvc.c
View file @
51cba214
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment