fs: btrfs: remove the usage of undeclared fs_mutex variable
This line probably got in by mistake as there is no fs_mutex member in the btrfs_fs_info struct. Signed-off-by: Pankaj Raghav <p.raghav@samsung.com> Reviewed-by: Qu Wenruo <wqu@suse.com>
This commit is contained in:
parent
dc1c02cb59
commit
34d5feaefe
@ -782,8 +782,6 @@ struct btrfs_fs_info *btrfs_new_fs_info(void)
|
|||||||
fs_info->fs_root_tree = RB_ROOT;
|
fs_info->fs_root_tree = RB_ROOT;
|
||||||
cache_tree_init(&fs_info->mapping_tree.cache_tree);
|
cache_tree_init(&fs_info->mapping_tree.cache_tree);
|
||||||
|
|
||||||
mutex_init(&fs_info->fs_mutex);
|
|
||||||
|
|
||||||
return fs_info;
|
return fs_info;
|
||||||
free_all:
|
free_all:
|
||||||
btrfs_free_fs_info(fs_info);
|
btrfs_free_fs_info(fs_info);
|
||||||
|
Loading…
Reference in New Issue
Block a user