From 5e42bc9deb5fb43ae44b7f8192c16612e6b1d6bc Mon Sep 17 00:00:00 2001 From: Li Xi Date: Sun, 27 Apr 2014 13:07:06 -0400 Subject: [PATCH] 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-format-patch failed