aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2011-05-17 20:11:22 -0400
committerChris Mason <chris.mason@oracle.com>2011-05-23 13:05:39 -0400
commit0956c798ef8dbe0fc215870eb68bd2d8e789f86a (patch)
tree8a6ec5a28fa685d30f44e344814a2c5a4262985c /fs/btrfs/ctree.h
parent61c4f2c81c61f73549928dfd9f3e8f26aa36a8cf (diff)
BTRFS: Remove unused node_lock
240f62c8756 replaced the node_lock with rcu_read_lock, but forgot to remove the actual lock in the data structure. Remove it here. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 8f4b81de3ae2..f290b98e2fe6 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1088,9 +1088,6 @@ struct btrfs_fs_info {
1088struct btrfs_root { 1088struct btrfs_root {
1089 struct extent_buffer *node; 1089 struct extent_buffer *node;
1090 1090
1091 /* the node lock is held while changing the node pointer */
1092 spinlock_t node_lock;
1093
1094 struct extent_buffer *commit_root; 1091 struct extent_buffer *commit_root;
1095 struct btrfs_root *log_root; 1092 struct btrfs_root *log_root;
1096 struct btrfs_root *reloc_root; 1093 struct btrfs_root *reloc_root;