All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs: fix a typo in comment of btrfs_balance
@ 2018-07-03  8:16 Su Yue
  2018-07-04 15:31 ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: Su Yue @ 2018-07-03  8:16 UTC (permalink / raw)
  To: linux-btrfs; +Cc: suy.fnst

The typo 'mutexe' should be 'mutex'.

Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
---
 fs/btrfs/volumes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index e034ad9e23b4..d9d87deb1160 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -3771,7 +3771,7 @@ static inline int validate_convert_profile(struct btrfs_balance_args *bctl_arg,
 }
 
 /*
- * Should be called with balance mutexe held
+ * Should be called with balance mutex held
  */
 int btrfs_balance(struct btrfs_fs_info *fs_info,
 		  struct btrfs_balance_control *bctl,
-- 
2.17.1




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

* Re: [PATCH] btrfs: fix a typo in comment of btrfs_balance
  2018-07-03  8:16 [PATCH] btrfs: fix a typo in comment of btrfs_balance Su Yue
@ 2018-07-04 15:31 ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2018-07-04 15:31 UTC (permalink / raw)
  To: Su Yue; +Cc: linux-btrfs

On Tue, Jul 03, 2018 at 04:16:29PM +0800, Su Yue wrote:
> The typo 'mutexe' should be 'mutex'.
> 
> Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
> ---
>  fs/btrfs/volumes.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
> index e034ad9e23b4..d9d87deb1160 100644
> --- a/fs/btrfs/volumes.c
> +++ b/fs/btrfs/volumes.c
> @@ -3771,7 +3771,7 @@ static inline int validate_convert_profile(struct btrfs_balance_args *bctl_arg,
>  }
>  
>  /*
> - * Should be called with balance mutexe held
> + * Should be called with balance mutex held

Well, fixing typos makes most sense for things that one would grep for
and does not want to miss. Otherwise it's better to fix them at once,
like commit 0132761017e012ab4dc8584d679503f2ba26ca86 .

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

end of thread, other threads:[~2018-07-04 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-03  8:16 [PATCH] btrfs: fix a typo in comment of btrfs_balance Su Yue
2018-07-04 15:31 ` David Sterba

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.