[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <11821784842672-git-send-email-swhiteho@redhat.com>
Date: Mon, 18 Jun 2007 15:54:30 +0100
From: Steven Whitehouse <swhiteho@...hat.com>
To: cluster-devel@...hat.com, linux-kernel@...r.kernel.org
Cc: Josef Bacik <jwhiter@...hat.com>,
Steven Whitehouse <swhiteho@...hat.com>
Subject: [PATCH 4/4] [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@...hat.com>
Signed-off-by: Steven Whitehouse <swhiteho@...hat.com>
---
fs/dlm/debug_fs.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
View attachment "b366510ec8e4fcf5a918a0c9fc1ba967d543838b.diff" of type "text/x-patch" (1327 bytes)
Powered by blists - more mailing lists