This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/dlm-kernel/src proc.c
- From: teigland at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 30 May 2007 18:04:17 -0000
- Subject: cluster/dlm-kernel/src proc.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: teigland@sourceware.org 2007-05-30 18:04:17
Modified files:
dlm-kernel/src : proc.c
Log message:
From jwhiter@redhat.com in bz 240356:
Basically when you cat /proc/cluster/dlm_locks theres a possibility that while
traversing the rsb list that an rsb could end up deleted before you print it
out. This patch moves the assigning of the di->rsb under the rsbtbl lock for
that list and then grabs a reference to that rsb so it does not get removed out
from underneath us, then we release the reference to the rsb after we've
grabbed the next one.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm-kernel/src/proc.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.12.2.1&r2=1.12.2.2