diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-03-14 14:18:30 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-03-19 18:00:44 -0400 |
commit | 90d5b18061656993410dfd57ddb88aa5a3f34563 (patch) | |
tree | 7e640753a3961d5af11518f046ed11920c8f649d /include/asm-generic | |
parent | 1e40316bc44851c5920490df01482ed862e4dbc4 (diff) |
NLM: LOCKD fails to load if CONFIG_SYSCTL is not set
Bruce Fields says:
"By the way, we've got another config-related nit here:
http://bugzilla.linux-nfs.org/show_bug.cgi?id=156
You can build lockd without CONFIG_SYSCTL set, but then the module will
fail to load."
For now, disable the sysctl registration calls in lockd if CONFIG_SYSCTL
is not enabled. This allows the kernel to build properly if PROC_FS or
SYSCTL is not enabled, but an NFS client is desired.
In the long run, we would like to be able to build the kernel with an
NFS client but without lockd. This makes sense, for example, if you want
an NFSv4-only NFS client, as NFSv4 doesn't use NLM at all.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions