From: Steven Whitehouse Date: Wed, 9 Dec 2009 13:55:12 +0000 (+0000) Subject: GFS2: Fix locking bug in rename X-Git-Tag: v2.6.33-rc4~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24b977b5fdea09bf356428870d32c09a275c8a3e;p=pandora-kernel.git GFS2: Fix locking bug in rename The rename code was taking a resource group lock in cases where it wasn't actually needed, this caused problems if the rename was resulting in an inode being unlinked. The patch ensures that we only take the rgrp lock early if it is really needed. Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed