xfs: fix spin_is_locked assert on uni-processor builds
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 <923f7720577207a44b32e59bbfbea59d27f1ae8e@lst.de>
Reviewed-by: Eric Sandeen <d55521028c14e0f378be5444e4ea388161c0d7e7@sandeen.net>
Reported-by: Johannes Engel <49eb52c881dcb58465160fa3a67283478a3d077e@googlemail.com>
Tested-by: Johannes Engel <49eb52c881dcb58465160fa3a67283478a3d077e@googlemail.com>
Signed-off-by: Felix Blyakher <489795e92d328beb2187b977cd7059f2eaf90933@sgi.com>

KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas