From: Steven Whitehouse Date: Tue, 26 Aug 2008 08:38:26 +0000 (+0100) Subject: GFS2: Fix & clean up GFS2 rename X-Git-Tag: v2.6.28-rc1~731^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0188d6c5807b65e2e20dcb75a668efbe5418b27e;p=pandora-kernel.git GFS2: Fix & clean up GFS2 rename This patch fixes a locking issue in the rename code by ensuring that we hold the per sb rename lock over both directory and "other" renames which involve different parent directories. At the same time, this moved the (only called from one place) function gfs2_ok_to_move into the file that its called from, so we can mark it static. This should make a code a bit easier to follow. Signed-off-by: Steven Whitehouse Cc: Peter Staubach --- Reading git-diff-tree failed