From: Bob Peterson Date: Wed, 16 Mar 2011 20:32:39 +0000 (-0400) Subject: GFS2: write_end error path fails to unlock transaction lock X-Git-Tag: v2.6.39-rc5~46^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deab72d3797e3d4340c7ddf968234b8c3d01d7a5;p=pandora-kernel.git GFS2: write_end error path fails to unlock transaction lock I did an audit of gfs2's transaction glock for bugzilla bug 658619 and ran across this: In function gfs2_write_end, in the unlikely event that gfs2_meta_inode_buffer returns an error, the code may forget to unlock the transaction lock because the "failed" label appears after the call to function gfs2_trans_end. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed