]> git.karo-electronics.de Git - karo-tx-linux.git/commit
XFS: fix lock ASSERT on UP
authorAndi Kleen <ak@linux.intel.com>
Wed, 25 Apr 2012 01:03:50 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:27 +0000 (15:17 +1000)
commitf4fc1c3bbd3beb20bb19ed1389b46574aa79279d
tree9cef7de1aa6f9a5d65d7a2869dc547d5ef8ea359
parentebca84868f15b8b28b09ff76beb27ab02593187f
XFS: fix lock ASSERT on UP

ASSERT(!spin_is_locked()) doesn't work on UP builds.  Replace with a
standard lockdep_assert_held()

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Ben Myers <bpm@sgi.com>
Cc: Alex Elder <elder@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/xfs/xfs_iget.c