lockd: convert nsm_mutex to a spinlock
authorJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 20 Feb 2008 20:40:15 +0000 (15:40 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:39 +0000 (16:13 -0400)
There's no reason for a mutex here, except to allow an allocation under
the lock, which we can avoid with the usual trick of preallocating
memory for the new object and freeing it if it turns out to be
unnecessary.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

No differences found