]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove the old NFS lock device driver that uses Giant.
authorRick Macklem <rmacklem@FreeBSD.org>
Thu, 9 Apr 2020 14:44:46 +0000 (14:44 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Thu, 9 Apr 2020 14:44:46 +0000 (14:44 +0000)
commit8de97f394e22391ff48a087dad4aa60e87ed8ebe
treec22a0ce3e5bdfdf23fe6679a2991e6bab8d7a9ed
parentf5b7695d2d5abd735064870ad43f4b9c723940c1
Remove the old NFS lock device driver that uses Giant.

This NFS lock device driver was replaced by the kernel NLM around FreeBSD7 and
has not normally been used since then.
To use it, the kernel had to be built without "options NFSLOCKD" and
the nfslockd.ko had to be deleted as well.
Since it uses Giant and is no longer used, this patch removes it.

With this device driver removed, there is now a lot of unused code
in the userland rpc.lockd. That will be removed on a future commit.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D22933
12 files changed:
sys/conf/files
sys/fs/nfs/nfs_commonport.c
sys/fs/nfsclient/nfs_clport.c
sys/fs/nfsclient/nfs_clvfsops.c
sys/fs/nfsserver/nfs_nfsdport.c
sys/kern/kern_exit.c
sys/kern/kern_thread.c
sys/modules/Makefile
sys/modules/nfslock/Makefile [deleted file]
sys/nfs/nfs_lock.c [deleted file]
sys/nlm/nlm_prot_impl.c
sys/sys/proc.h