Skip to content
Commit a8914f3a authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Felix Blyakher
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarEric Sandeen <sandeen@sandeen.net>
Reported-by: default avatarJohannes Engel <jcnengel@googlemail.com>
Tested-by: default avatarJohannes Engel <jcnengel@googlemail.com>
Signed-off-by: default avatarFelix Blyakher <felixb@sgi.com>
parent b89d4208
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment