From: David Chinner Date: Fri, 23 Nov 2007 05:28:17 +0000 (+1100) Subject: [XFS] Fix sparse warning in xlog_recover_do_efd_trans. X-Git-Tag: v2.6.25-rc1~282^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ae2c0f64a81a93d2c394eacee29d6ced53b54f9;p=pandora-kernel.git [XFS] Fix sparse warning in xlog_recover_do_efd_trans. Sparse trips over the locking order in xlog_recover_do_efd_trans() when xfs_trans_delete_ail() drops the ail lock. Because the unlock is conditional, we need to either annotate with a "fake unlock" or change the structure of the code so sparse thinks the function always unlocks. Reordering the code makes it simpler, so do that. SGI-PV: 972755 SGI-Modid: xfs-linux-melb:xfs-kern:30003a Signed-off-by: David Chinner Signed-off-by: Christoph Hellwig Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed