- patches.suse/btrfs-8152-fix-unnecessary-warning-when-the-fragments-mak.patch:
[opensuse:kernel-source.git] / patches.suse / btrfs-8155-cleanup-fs_info-hashers.patch
1 From: Liu Bo <bo.li.liu@oracle.com>
2 Date: Fri, 14 Sep 2012 02:58:06 -0600
3 Patch-mainline: pending
4 References: FATE#306586
5 Subject: [PATCH] Btrfs: cleanup fs_info->hashers
6
7 fs_info->hashers is now an obsolete one.
8
9 Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
10 Signed-off-by: David Sterba <dsterba@suse.cz>
11 ---
12  fs/btrfs/ctree.h   |    1 -
13  fs/btrfs/disk-io.c |    1 -
14  2 files changed, 0 insertions(+), 2 deletions(-)
15
16 diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
17 index 523b4d7..092f837 100644
18 --- a/fs/btrfs/ctree.h
19 +++ b/fs/btrfs/ctree.h
20 @@ -1103,7 +1103,6 @@ struct btrfs_fs_info {
21         struct mutex reloc_mutex;
22  
23         struct list_head trans_list;
24 -       struct list_head hashers;
25         struct list_head dead_roots;
26         struct list_head caching_block_groups;
27  
28 diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
29 index a116745..65a8e5d 100644
30 --- a/fs/btrfs/disk-io.c
31 +++ b/fs/btrfs/disk-io.c
32 @@ -2003,7 +2003,6 @@ struct btrfs_root *open_ctree(struct super_block *sb,
33         INIT_LIST_HEAD(&fs_info->trans_list);
34         INIT_LIST_HEAD(&fs_info->dead_roots);
35         INIT_LIST_HEAD(&fs_info->delayed_iputs);
36 -       INIT_LIST_HEAD(&fs_info->hashers);
37         INIT_LIST_HEAD(&fs_info->delalloc_inodes);
38         INIT_LIST_HEAD(&fs_info->ordered_operations);
39         INIT_LIST_HEAD(&fs_info->caching_block_groups);
40 -- 
41 1.7.6.233.gd79bc
42