From: Russell Cattelan Date: Thu, 9 Nov 2006 16:28:08 +0000 (-0500) Subject: [GFS2] Fix race in logging code X-Git-Tag: v2.6.20-rc1~145^2^2~5^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7020933156ac2a8a7386314933e49948bf0438f7;p=pandora-kernel.git [GFS2] Fix race in logging code The log lock is dropped prior to io submittion, but this exposes a hole in which the log data structures may be going away due to a truncate. Store the buffer head in a local pointer prior to dropping the lock and relay on the buffer_head lock for consitency on the buffer head. Signed-Off-By: Russell Cattelan Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed