Revision b9447ef80bd301b932ac4d85c9622e929de5fd62 authored by Chris Mason on 09 March 2009, 15:45:38 UTC, committed by Chris Mason on 09 March 2009, 15:45:38 UTC
btrfs_tree_locked was being used to make sure a given extent_buffer was properly locked in a few places. But, it wasn't correct for UP compiled kernels. This switches it to using assert_spin_locked instead, and renames it to btrfs_assert_tree_locked to better reflect how it was really being used. Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent 4e06bdd
locking-selftest-mutex.h
#undef LOCK
#define LOCK ML
#undef UNLOCK
#define UNLOCK MU
#undef RLOCK
#undef WLOCK
#undef INIT
#define INIT MI
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...