summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-10-04 20:34:27 +0300
committerDavid Sterba <dsterba@suse.com>2016-12-06 18:07:00 +0300
commit34441361c4f52a5f6e41d8de8e5debbeb415dbf0 (patch)
tree1ecdf96fc87c0c297106555b2ad7e1f4e74b2952 /fs/btrfs/volumes.h
parent3a45bb207ee2c5548ebf6f5fcc7d249e141f15e8 (diff)
downloadlinux-34441361c4f52a5f6e41d8de8e5debbeb415dbf0.tar.xz
btrfs: opencode chunk locking, remove helpers
The helpers are trivial and we don't use them consistently. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 18b4449fa5a5..811328984702 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -534,16 +534,6 @@ void btrfs_update_commit_device_size(struct btrfs_fs_info *fs_info);
void btrfs_update_commit_device_bytes_used(struct btrfs_fs_info *fs_info,
struct btrfs_transaction *transaction);
-static inline void lock_chunks(struct btrfs_fs_info *fs_info)
-{
- mutex_lock(&fs_info->chunk_mutex);
-}
-
-static inline void unlock_chunks(struct btrfs_fs_info *fs_info)
-{
- mutex_unlock(&fs_info->chunk_mutex);
-}
-
struct list_head *btrfs_get_fs_uuids(void);
void btrfs_set_fs_info_ptr(struct btrfs_fs_info *fs_info);
void btrfs_reset_fs_info_ptr(struct btrfs_fs_info *fs_info);