The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] NLM program ID for user space NLM server
@ 2007-05-10  9:56 Menny Hamburger
  2007-05-10 10:02 ` Neil Brown
  0 siblings, 1 reply; 9+ messages in thread
From: Menny Hamburger @ 2007-05-10  9:56 UTC (permalink / raw)
  To: linux-kernel

Hi,

Since the current kernel cannot be compiled with NFS client and without
lockd, it is not possible to register a user space NLM server
Without colliding with the kernel service registered in
.../fs/lockd/lockd.c.

This simple patch gives the ability to provide NLM_PROGRAM from outside:
--- linux-2.6.20/include/linux/lockd/nlm.h	2007-02-04
20:44:54.000000000 +0200
+++ linux-2.6.20_patched/include/linux/lockd/nlm.h	2007-05-10
12:21:40.799004000 +0300
@@ -30,7 +30,9 @@
 #endif
 };
 
+#ifndef 
 #define NLM_PROGRAM		100021
+#endif
 
 #define NLMPROC_NULL		0
 #define NLMPROC_TEST		1

Menny


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-05-10 17:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10  9:56 [PATCH] NLM program ID for user space NLM server Menny Hamburger
2007-05-10 10:02 ` Neil Brown
2007-05-10 10:59   ` Menny Hamburger
2007-05-10 13:39     ` Trond Myklebust
2007-05-10 15:30       ` Menny Hamburger
2007-05-10 16:27         ` Trond Myklebust
2007-05-10 16:45           ` Menny Hamburger
2007-05-10 17:04             ` Trond Myklebust
2007-05-10 17:11               ` Menny Hamburger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox