From: Chris Mason Date: Mon, 9 Mar 2009 15:45:38 +0000 (-0400) Subject: Btrfs: fix spinlock assertions on UP systems X-Git-Tag: v2.6.29-rc8~53^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9447ef80bd301b932ac4d85c9622e929de5fd62;p=pandora-kernel.git Btrfs: fix spinlock assertions on UP systems btrfs_tree_locked was being used to make sure a given extent_buffer was properly locked in a few places. But, it wasn't correct for UP compiled kernels. This switches it to using assert_spin_locked instead, and renames it to btrfs_assert_tree_locked to better reflect how it was really being used. Signed-off-by: Chris Mason --- Reading git-diff-tree failed