]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove the old NFS lock device driver that uses Giant.
authorrmacklem <rmacklem@FreeBSD.org>
Thu, 9 Apr 2020 14:44:46 +0000 (14:44 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Thu, 9 Apr 2020 14:44:46 +0000 (14:44 +0000)
commit9f795af55b6a0550d7619001c9f33f59c7d9c9df
treec22a0ce3e5bdfdf23fe6679a2991e6bab8d7a9ed
parent112f0d77d1b6ac25a821562d536f6821efbb5a25
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