From: Christoph Hellwig Date: Mon, 10 Aug 2009 14:32:44 +0000 (-0300) Subject: xfs: fix spin_is_locked assert on uni-processor builds X-Git-Tag: v2.6.31-rc6~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8914f3a6d72c97328597a556a99daaf5cc288ae;p=pandora-kernel.git xfs: fix spin_is_locked assert on uni-processor builds Without SMP or preemption spin_is_locked always returns false, so we can't do an assert with it. Instead use assert_spin_locked, which does the right thing on all builds. Signed-off-by: Christoph Hellwig Reviewed-by: Eric Sandeen Reported-by: Johannes Engel Tested-by: Johannes Engel Signed-off-by: Felix Blyakher --- Reading git-diff-tree failed