dlm: Change rwlock which is only used in write mode to a spinlock
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 16 Jan 2009 16:21:12 +0000 (16:21 +0000)
committerDavid Teigland <teigland@redhat.com>
Wed, 28 Jan 2009 18:55:55 +0000 (12:55 -0600)
commit305a47b17c6efcc0e7b67b0bd41e2c12b7af758b
tree610c0b2642815221d57f39371d854d4751596dd5
parent152a649b647a8ef47bb74ff9e11850fa6001bedc
dlm: Change rwlock which is only used in write mode to a spinlock

The ls_dirtbl[].lock was an rwlock, but since it was only used in write
mode a spinlock will suffice.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dir.c
fs/dlm/dlm_internal.h
fs/dlm/lockspace.c