From c7c4e3ebae85ae531fe298149a6ce0b2a0643a04 Mon Sep 17 00:00:00 2001 From: rmacklem Date: Sat, 24 Jul 2010 22:11:11 +0000 Subject: 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 --- sys/fs/nfsclient/nfs_clnfsiod.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/fs/nfsclient/nfs_clnfsiod.c') diff --git a/sys/fs/nfsclient/nfs_clnfsiod.c b/sys/fs/nfsclient/nfs_clnfsiod.c index 62ea4f8..4c33497 100644 --- a/sys/fs/nfsclient/nfs_clnfsiod.c +++ b/sys/fs/nfsclient/nfs_clnfsiod.c @@ -67,7 +67,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include extern struct mtx ncl_iod_mutex; -- cgit v1.1