Btrfs: cleanup fs_info->hashers
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 14 Sep 2012 08:58:06 +0000 (02:58 -0600)
committerChris Mason <chris.mason@fusionio.com>
Thu, 4 Oct 2012 13:39:57 +0000 (09:39 -0400)
fs_info->hashers is now an obsolete one.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c

index d66dc1c6a40de947f3a3757ed1950df5f9e18152..1372057e1ec1a3a138312a25f0a9371c726444a0 100644 (file)
@@ -1253,7 +1253,6 @@ struct btrfs_fs_info {
        struct mutex reloc_mutex;
 
        struct list_head trans_list;
-       struct list_head hashers;
        struct list_head dead_roots;
        struct list_head caching_block_groups;
 
index 8d633e3e391924a236692cdf3077cdb7cdf8f153..5d3f813e13a00bdf1a2507b8496c206c74117730 100644 (file)
@@ -1984,7 +1984,6 @@ int open_ctree(struct super_block *sb,
        INIT_LIST_HEAD(&fs_info->trans_list);
        INIT_LIST_HEAD(&fs_info->dead_roots);
        INIT_LIST_HEAD(&fs_info->delayed_iputs);
-       INIT_LIST_HEAD(&fs_info->hashers);
        INIT_LIST_HEAD(&fs_info->delalloc_inodes);
        INIT_LIST_HEAD(&fs_info->ordered_operations);
        INIT_LIST_HEAD(&fs_info->caching_block_groups);