aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lockspace.c
diff options
context:
space:
mode:
authorJosef Bacik <jwhiter@redhat.com>2007-05-16 15:56:13 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-07-09 08:22:29 +0100
commit916297aad5de2363dccd531873eda55d4d6afb57 (patch)
treee8e5eabf529bd4a41d9ee225087e237581ce5ffd /fs/dlm/lockspace.c
parent2a87ab080607d009b8b2a8706f4e27d70402ca9c (diff)
downloadkernel_samsung_smdk4412-916297aad5de2363dccd531873eda55d4d6afb57.zip
kernel_samsung_smdk4412-916297aad5de2363dccd531873eda55d4d6afb57.tar.gz
kernel_samsung_smdk4412-916297aad5de2363dccd531873eda55d4d6afb57.tar.bz2
[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/lockspace.c')
0 files changed, 0 insertions, 0 deletions