aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2010-07-24 22:11:11 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2010-07-24 22:11:11 +0000
commitf92bbff2481ab999e7fec098d7c232779df7aa73 (patch)
tree4eec6454349918ebb035552eba42b0ef1fd7eaa6 /sys/nfsclient/nfs_vfsops.c
parent7f5b7f232394ad7a4e815fe755279eece957d22e (diff)
downloadsrc-f92bbff2481ab999e7fec098d7c232779df7aa73.tar.gz
src-f92bbff2481ab999e7fec098d7c232779df7aa73.zip
Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate
module that can be used by both the regular and experimental nfs clients. This fixes the problem reported by jh@ where /dev/nfslock would be registered twice when both nfs clients were used. I also defined the size of the lm_fh field to be the correct value, as it should be the maximum size of an NFSv3 file handle. Reviewed by: jh MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=210455
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index a4ef316b683a..f07bf161707a 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -148,6 +148,7 @@ MODULE_DEPEND(nfs, krpc, 1, 1, 1);
MODULE_DEPEND(nfs, kgssapi, 1, 1, 1);
#endif
MODULE_DEPEND(nfs, nfs_common, 1, 1, 1);
+MODULE_DEPEND(nfs, nfslock, 1, 1, 1);
static struct nfs_rpcops nfs_rpcops = {
nfs_readrpc,