btrfs: remove unused member btrfs_root::name
[sfrench/cifs-2.6.git] / fs / btrfs / disk-io.c
index 9b208ccf24fe7f45399d76e9bae4f9e247e12af6..3830867e0225a0361b01e40229df01eaf12c433c 100644 (file)
@@ -1154,7 +1154,6 @@ static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info,
        root->highest_objectid = 0;
        root->nr_delalloc_inodes = 0;
        root->nr_ordered_extents = 0;
-       root->name = NULL;
        root->inode_tree = RB_ROOT;
        INIT_RADIX_TREE(&root->delayed_nodes_tree, GFP_ATOMIC);
        root->block_rsv = NULL;
@@ -3849,7 +3848,6 @@ static void free_fs_root(struct btrfs_root *root)
        free_extent_buffer(root->commit_root);
        kfree(root->free_ino_ctl);
        kfree(root->free_ino_pinned);
-       kfree(root->name);
        btrfs_put_fs_root(root);
 }