]> err.no Git - linux-2.6/commit
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)
commitd8421202121ce74daf4625ca9d1d825bbd7ce66a
tree0465a155e03b97660d2f887e702b8f2917889c75
parenta95e56e72c196970a8067cd515c658d064813170
lockd: convert nsm_mutex to a spinlock

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>
fs/lockd/host.c