diff options
author | Josef Bacik <jwhiter@redhat.com> | 2007-05-16 15:56:13 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-07-09 03:22:29 -0400 |
commit | 916297aad5de2363dccd531873eda55d4d6afb57 (patch) | |
tree | e8e5eabf529bd4a41d9ee225087e237581ce5ffd /fs/dlm/lock.h | |
parent | 2a87ab080607d009b8b2a8706f4e27d70402ca9c (diff) |
[DLM] keep dlm from panicing when traversing rsb list in debugfs
This problem was originally reported against GFS6.1, but the same issue exists
in upstream DLM. This patch keeps the rsb iterator assigning under the rsbtbl
list lock. Each time we process an rsb we grab a reference to it to make sure
it is not freed out from underneath us, and then put it when we get the next rsb
in the list or move onto another list.
Signed-off-by: Josef Bacik <jwhiter@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/lock.h')
0 files changed, 0 insertions, 0 deletions