From: Li Xi Date: Sun, 27 Apr 2014 17:07:06 +0000 (-0400) Subject: staging/lustre: remove assertion of spin_is_locked() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e42bc9deb5fb43ae44b7f8192c16612e6b1d6bc;p=pandora-kernel.git staging/lustre: remove assertion of spin_is_locked() spin_is_locked() is always false when the platform is uniprocessor and CONFIG_DEBUG_SPINLOCK is not enabled. This patch replaces its assertion by assert_spin_locked(). Signed-off-by: Li Xi Signed-off-by: James Simmons Reviewed-on: http://review.whamcloud.com/8144 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4199 Reviewed-by: Alexey Lyashkov Reviewed-by: Andreas Dilger Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed