[PATCH RESEND] fs: btrfs: remove the usage of undeclared fs_mutex variable

Qu Wenruo quwenruo.btrfs at gmx.com
Thu Sep 29 00:55:19 CEST 2022



On 2022/9/28 23:23, Pankaj Raghav wrote:
> 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 at samsung.com>

Reviewed-by: Qu Wenruo <wqu at suse.com>

Thanks,
Qu

> ---
> For UBOOT.
> The patch I sent the first time is not showing up in the uboot mailing list
> because of the missing approval. So, resending the patch.
>
>   fs/btrfs/disk-io.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
> index 8043abc1bd..c80f8e8028 100644
> --- a/fs/btrfs/disk-io.c
> +++ b/fs/btrfs/disk-io.c
> @@ -782,8 +782,6 @@ struct btrfs_fs_info *btrfs_new_fs_info(void)
>   	fs_info->fs_root_tree = RB_ROOT;
>   	cache_tree_init(&fs_info->mapping_tree.cache_tree);
>
> -	mutex_init(&fs_info->fs_mutex);
> -
>   	return fs_info;
>   free_all:
>   	btrfs_free_fs_info(fs_info);


More information about the U-Boot mailing list