dlm: fix locking of lockspace list in dlm_scand
authorDavid Teigland <teigland@redhat.com>
Mon, 18 Aug 2008 19:03:25 +0000 (14:03 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 28 Aug 2008 16:50:07 +0000 (11:50 -0500)
commitc1dcf65ffc5796bf4ff75c13f448e63b3a416fd6
tree0283dcd832fb54758e80f7fb53f8efb331b6321c
parentdc68c7ed362a00a48290252573a8eb9f74463c3a
dlm: fix locking of lockspace list in dlm_scand

The dlm_scand thread needs to lock the list of lockspaces
when going through it.

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