patch-2.3.47 linux/fs/lockd/svc.c

Next file: linux/fs/lockd/svc4proc.c
Previous file: linux/fs/lockd/lockd_syms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/fs/lockd/svc.c linux/fs/lockd/svc.c
@@ -343,7 +343,7 @@
 static struct svc_version	nlmsvc_version3 = {
 	3, 24, nlmsvc_procedures, NULL
 };
-#ifdef CONFIG_NFSD_NFS3
+#ifdef CONFIG_LOCKD_V4
 static struct svc_version	nlmsvc_version4 = {
 	4, 24, nlmsvc_procedures4, NULL
 };
@@ -353,7 +353,7 @@
 	&nlmsvc_version1,
 	NULL,
 	&nlmsvc_version3,
-#ifdef CONFIG_NFSD_NFS3
+#ifdef CONFIG_LOCKD_V4
 	&nlmsvc_version4,
 #endif
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)