All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] fs: btrfs: remove the usage of undeclared fs_mutex variable
       [not found] <CGME20220928152349eucas1p250b7626579d1619019b2946caeeb1c4a@eucas1p2.samsung.com>
@ 2022-09-28 15:23 ` Pankaj Raghav
  2022-09-28 22:55   ` Qu Wenruo
  2022-09-29 20:07   ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Pankaj Raghav @ 2022-09-28 15:23 UTC (permalink / raw)
  To: kabel, Qu Wenruo; +Cc: u-boot, Pankaj Raghav, Pankaj Raghav

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>
---
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);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH RESEND] fs: btrfs: remove the usage of undeclared fs_mutex variable
  2022-09-28 15:23 ` [PATCH RESEND] fs: btrfs: remove the usage of undeclared fs_mutex variable Pankaj Raghav
@ 2022-09-28 22:55   ` Qu Wenruo
  2022-09-29 20:07   ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Qu Wenruo @ 2022-09-28 22:55 UTC (permalink / raw)
  To: u-boot



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@samsung.com>

Reviewed-by: Qu Wenruo <wqu@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);

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH RESEND] fs: btrfs: remove the usage of undeclared fs_mutex variable
  2022-09-28 15:23 ` [PATCH RESEND] fs: btrfs: remove the usage of undeclared fs_mutex variable Pankaj Raghav
  2022-09-28 22:55   ` Qu Wenruo
@ 2022-09-29 20:07   ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2022-09-29 20:07 UTC (permalink / raw)
  To: Pankaj Raghav; +Cc: kabel, Qu Wenruo, u-boot, Pankaj Raghav

[-- Attachment #1: Type: text/plain, Size: 318 bytes --]

On Wed, Sep 28, 2022 at 05:23:01PM +0200, 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@samsung.com>
> Reviewed-by: Qu Wenruo <wqu@suse.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-29 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20220928152349eucas1p250b7626579d1619019b2946caeeb1c4a@eucas1p2.samsung.com>
2022-09-28 15:23 ` [PATCH RESEND] fs: btrfs: remove the usage of undeclared fs_mutex variable Pankaj Raghav
2022-09-28 22:55   ` Qu Wenruo
2022-09-29 20:07   ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.