From: Ilya Dryomov Date: Thu, 12 Apr 2012 20:03:56 +0000 (-0400) Subject: Btrfs: remove lock assert from get_restripe_target() X-Git-Tag: v3.4-rc3~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6664b42c4e567792abdb17c958fb01c5bcfcb3a;p=pandora-kernel.git Btrfs: remove lock assert from get_restripe_target() This fixes a regression introduced by fc67c450. spin_is_locked() always returns 0 on UP kernels, which caused assert in get_restripe_target() to be fired on every call from btrfs_reduce_alloc_profile() on UP systems. Remove it completely for now, it's not clear if it's going to be needed in future. Reported-by: Bobby Powers Reported-by: Mitch Harder Tested-by: Mitch Harder Signed-off-by: Ilya Dryomov Signed-off-by: Chris Mason --- Reading git-diff-tree failed