diff options
author | Josef Bacik <jbacik@redhat.com> | 2009-04-03 10:14:18 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-04-03 10:14:18 -0400 |
commit | 04018de5d41e6490840de9399e029fd30e78576f (patch) | |
tree | 4fcb979cee830884ca0d3f9636cc70ed17b3364a /fs/btrfs/ctree.h | |
parent | 6226cb0a5ea3f6289883753c15d53f48a6c6bbfb (diff) | |
download | kernel-crypto-04018de5d41e6490840de9399e029fd30e78576f.tar.gz kernel-crypto-04018de5d41e6490840de9399e029fd30e78576f.tar.xz kernel-crypto-04018de5d41e6490840de9399e029fd30e78576f.zip |
Btrfs: kill the pinned_mutex
This patch removes the pinned_mutex. The extent io map has an internal tree
lock that protects the tree itself, and since we only copy the extent io map
when we are committing the transaction we don't need it there. We also don't
need it when caching the block group since searching through the tree is also
protected by the internal map spin lock.
Signed-off-by: Josef Bacik <jbacik@redhat.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 527744561f9..aaa049b8e13 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -728,7 +728,6 @@ struct btrfs_fs_info { struct mutex tree_log_mutex; struct mutex transaction_kthread_mutex; struct mutex cleaner_mutex; - struct mutex pinned_mutex; struct mutex chunk_mutex; struct mutex drop_mutex; struct mutex volume_mutex; |