diff options
author | Josef Bacik <jwhiter@redhat.com> | 2007-05-16 15:56:13 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-07-09 08:22:29 +0100 |
commit | 916297aad5de2363dccd531873eda55d4d6afb57 (patch) | |
tree | e8e5eabf529bd4a41d9ee225087e237581ce5ffd /fs/anon_inodes.c | |
parent | 2a87ab080607d009b8b2a8706f4e27d70402ca9c (diff) | |
download | linux-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/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions