From: Steven Whitehouse Date: Thu, 25 Jan 2007 10:04:20 +0000 (+0000) Subject: [GFS2] Fix list corruption in lops.c X-Git-Tag: v2.6.21-rc1~92^2~35^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bd9572769767c6fd164cff4e1202df12cb34b4a;p=pandora-kernel.git [GFS2] Fix list corruption in lops.c The patch below appears to fix the list corruption that we are seeing on occasion. Although the transaction structure is private to a single thread, when the queued structures are dismantled during an in-core commit, its possible for a different thread to be trying to add the same structure to another, new, transaction at the same time. To avoid this, this patch takes the log spinlock during this operation. Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed