This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]