From: Steven Whitehouse Date: Mon, 27 Nov 2006 14:55:28 +0000 (-0500) Subject: [GFS2] Fix recursive locking in gfs2_permission X-Git-Tag: v2.6.20-rc1~145^2^2~5^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=300c7d75f3a5e8edd3e390ccd56b808f3fb14e33;p=pandora-kernel.git [GFS2] Fix recursive locking in gfs2_permission Since gfs2_permission may be called either from the VFS (in which case we need to obtain a shared glock) or from GFS2 (in which case we already have a glock) we need to test to see whether or not a lock is required. The original test was buggy due to a potential race. This one should be safe. This fixes Red Hat bugzilla #217129 Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed