diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-03-09 16:45:38 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-03-09 16:45:38 +0100 |
commit | b9447ef80bd301b932ac4d85c9622e929de5fd62 (patch) | |
tree | 6d0bb1f287ed09f7850b77e2f622c3bebb35112b /mm/maccess.c | |
parent | Btrfs: try committing transaction before returning ENOSPC (diff) | |
download | linux-b9447ef80bd301b932ac4d85c9622e929de5fd62.tar.xz linux-b9447ef80bd301b932ac4d85c9622e929de5fd62.zip |
Btrfs: fix spinlock assertions on UP systems
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions