summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorDavid Sterba2014-02-05 02:37:48 +0100
committerChris Mason2014-09-17 22:37:09 +0200
commit57cdc8db21bf9cfa6b2e45310d56e74e263e8609 (patch)
treefc14cc80a59499fe9ac9f6e9b2aaf1287993e3ea /fs/btrfs/ctree.h
parentbtrfs: clenaup: don't call btrfs_release_path before free_path (diff)
downloadkernel-qcow2-linux-57cdc8db21bf9cfa6b2e45310d56e74e263e8609.tar.gz
kernel-qcow2-linux-57cdc8db21bf9cfa6b2e45310d56e74e263e8609.tar.xz
kernel-qcow2-linux-57cdc8db21bf9cfa6b2e45310d56e74e263e8609.zip
btrfs: cleanup ino cache members of btrfs_root
The naming is confusing, generic yet used for a specific cache. Add a prefix 'ino_' or rename appropriately. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 8e29b614fe93..a835a548e47e 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1776,12 +1776,12 @@ struct btrfs_root {
/* free ino cache stuff */
struct btrfs_free_space_ctl *free_ino_ctl;
- enum btrfs_caching_type cached;
- spinlock_t cache_lock;
- wait_queue_head_t cache_wait;
+ enum btrfs_caching_type ino_cache_state;
+ spinlock_t ino_cache_lock;
+ wait_queue_head_t ino_cache_wait;
struct btrfs_free_space_ctl *free_ino_pinned;
- u64 cache_progress;
- struct inode *cache_inode;
+ u64 ino_cache_progress;
+ struct inode *ino_cache_inode;
struct mutex log_mutex;
wait_queue_head_t log_writer_wait;