Re: [PATCH] NLM program ID for user space NLM server

From: Neil Brown
Date: Thu May 10 2007 - 06:03:22 EST


On Thursday May 10, menny@xxxxxxxxxx wrote:
> 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 doesn't make any sense to me at all.
You can certainly have the NFS client compiled and even running
without lockd running (if you mount with "-o nolock") and in that case
you are free you register your owner user-space NLM server (though I'm
not sure what good it would do you).

And if you want to mount an NFS filesystem without "-o nolock", then
you really need the kernel lockd running, or locking will not work.

Can you explain what you are trying to do - I'm curious.

>
> +#ifndef
> #define NLM_PROGRAM 100021
> +#endif

Uhm... Do you mean

+#ifndef NLM_PROGRAM

?? Still not sure how that helps.

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