summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-02-05 02:37:48 +0100
committerChris Mason <clm@fb.com>2014-09-17 13:37:09 -0700
commit57cdc8db21bf9cfa6b2e45310d56e74e263e8609 (patch)
treefc14cc80a59499fe9ac9f6e9b2aaf1287993e3ea /fs/btrfs/ctree.h
parentc6f83c74fd647e8e31a9a42a76d895bce4a61a08 (diff)
downloadop-kernel-dev-57cdc8db21bf9cfa6b2e45310d56e74e263e8609.zip
op-kernel-dev-57cdc8db21bf9cfa6b2e45310d56e74e263e8609.tar.gz
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 8e29b61..a835a54 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;
OpenPOWER on IntegriCloud