[PATCH] PATCH 4/16: NFSD: BKL Removal: Locking in nfssvc.c
authorNeil Brown <neilb@cse.unsw.edu.au>
Tue, 26 Feb 2002 06:23:00 +0000 (22:23 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Tue, 26 Feb 2002 06:23:00 +0000 (22:23 -0800)
commit734f5929c59aefec646dac646d26919d6dfbd6a1
treeb67bf00026129824409412fbe930adaa9900c1a4
parentf90efd5ae360a5f224184b056f622cc09f581cba
[PATCH] PATCH 4/16: NFSD: BKL Removal: Locking in nfssvc.c

Tidy up locking in nfssvc - preparing for BKL removal

- nfsd_busy becomes atomic_t
- nfsd_call_lock created to protect timing of calls and stats gathering
- lock_kernel around thread creation and destruction.  It is
  sufficiently uncommon that it doesn't really need a lock of it's
  own.  It is currently under the BKL because all of the nfsservctl
  syscall is, but that is about to be removed so we preserve BKL here.
fs/nfsd/nfssvc.c