diff options
author | David Teigland <teigland@redhat.com> | 2008-08-18 15:03:25 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2008-08-28 12:50:07 -0400 |
commit | c1dcf65ffc5796bf4ff75c13f448e63b3a416fd6 (patch) | |
tree | 0283dcd832fb54758e80f7fb53f8efb331b6321c /fs/dlm/dlm_internal.h | |
parent | dc68c7ed362a00a48290252573a8eb9f74463c3a (diff) |
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>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
-rw-r--r-- | fs/dlm/dlm_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h index 9e0622aff496..868e4c9ef127 100644 --- a/fs/dlm/dlm_internal.h +++ b/fs/dlm/dlm_internal.h | |||
@@ -445,6 +445,7 @@ struct dlm_ls { | |||
445 | the dlm using this ls */ | 445 | the dlm using this ls */ |
446 | int ls_create_count; /* create/release refcount */ | 446 | int ls_create_count; /* create/release refcount */ |
447 | unsigned long ls_flags; /* LSFL_ */ | 447 | unsigned long ls_flags; /* LSFL_ */ |
448 | unsigned long ls_scan_time; | ||
448 | struct kobject ls_kobj; | 449 | struct kobject ls_kobj; |
449 | 450 | ||
450 | struct dlm_rsbtable *ls_rsbtbl; | 451 | struct dlm_rsbtable *ls_rsbtbl; |