lkml.org 
[lkml]   [2007]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] NLM program ID for user space NLM server
Date
From
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-10 11:59    [W:0.095 / U:0.936 seconds]
©2003-2014 Jasper Spaans. Advertise on this site