aboutsummaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-08-10 11:32:44 -0300
committerFelix Blyakher <felixb@sgi.com>2009-08-12 01:08:27 -0500
commita8914f3a6d72c97328597a556a99daaf5cc288ae (patch)
tree95f569b102f56dfa70cfb8019ef63be8ee828fc1 /fs/internal.h
parentxfs: check for dinode realtime flag corruption (diff)
downloadlinux-dev-a8914f3a6d72c97328597a556a99daaf5cc288ae.tar.xz
linux-dev-a8914f3a6d72c97328597a556a99daaf5cc288ae.zip
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 <hch@lst.de> Reviewed-by: Eric Sandeen <sandeen@sandeen.net> Reported-by: Johannes Engel <jcnengel@googlemail.com> Tested-by: Johannes Engel <jcnengel@googlemail.com> Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions