summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/locking.h
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2013-03-11 10:37:45 +0100
committerChris Mason <chris.mason@fusionio.com>2013-03-14 19:57:10 +0100
commitd340d2475c6e394013325f83f499594628a9e558 (patch)
tree2d5daadbc6216234673bf67bb90ed43a5a0ea4f2 /fs/btrfs/locking.h
parentBtrfs: get better concurrency for snapshot-aware defrag work (diff)
downloadlinux-d340d2475c6e394013325f83f499594628a9e558.tar.xz
linux-d340d2475c6e394013325f83f499594628a9e558.zip
Btrfs: remove btrfs_try_spin_lock
Remove a useless function declaration Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/locking.h')
-rw-r--r--fs/btrfs/locking.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/locking.h b/fs/btrfs/locking.h
index ca52681e5f40..b81e0e9a4894 100644
--- a/fs/btrfs/locking.h
+++ b/fs/btrfs/locking.h
@@ -26,7 +26,6 @@
void btrfs_tree_lock(struct extent_buffer *eb);
void btrfs_tree_unlock(struct extent_buffer *eb);
-int btrfs_try_spin_lock(struct extent_buffer *eb);
void btrfs_tree_read_lock(struct extent_buffer *eb);
void btrfs_tree_read_unlock(struct extent_buffer *eb);