Allow loading of dtraceall without nfscl if what you really wnat is nfsclient

Obtained from:	Panzura tree
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273762 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Change loginclass mutex to an rwlock.

While here reduce nesting in loginclass_free.

Submitted by:	Tiwei Bie <btw mail.ustc.edu.cn>
X-Additional:	JuniorJobs project
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273763 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f