patch-2.2.17 linux/fs/lockd/svc.c
Next file: linux/fs/namei.c
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Sep 4 18:39:22 2000
- Orig file:
v2.2.16/fs/lockd/svc.c
- Orig date:
Mon Sep 4 18:37:07 2000
diff -u --recursive --new-file v2.2.16/fs/lockd/svc.c linux/fs/lockd/svc.c
@@ -236,7 +236,10 @@
}
if ((error = svc_makesock(serv, IPPROTO_UDP, 0)) < 0
- || (error = svc_makesock(serv, IPPROTO_TCP, 0)) < 0) {
+#ifdef CONFIG_NFSD_TCP
+ || (error = svc_makesock(serv, IPPROTO_TCP, 0)) < 0
+#endif
+ ) {
if (warned++ == 0)
printk(KERN_WARNING
"lockd_up: makesock failed, error=%d\n", error);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)