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>
This commit is contained in:
David Teigland
2008-08-18 14:03:25 -05:00
parent dc68c7ed36
commit c1dcf65ffc
2 changed files with 27 additions and 3 deletions

View File

@ -445,6 +445,7 @@ struct dlm_ls {
the dlm using this ls */
int ls_create_count; /* create/release refcount */
unsigned long ls_flags; /* LSFL_ */
unsigned long ls_scan_time;
struct kobject ls_kobj;
struct dlm_rsbtable *ls_rsbtbl;