Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH] btrfs: Fix typo in error message
@ 2024-06-20 15:04 Mark Harmstone
  2024-06-21 10:03 ` Filipe Manana
  2024-06-26 21:51 ` David Sterba
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Harmstone @ 2024-06-20 15:04 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Mark Harmstone

Signed-off-by: Mark Harmstone <maharmstone@fb.com>
---
 fs/btrfs/disk-io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index d0882536b923..9b1ac0e2cdf3 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2467,7 +2467,7 @@ int btrfs_validate_super(struct btrfs_fs_info *fs_info,
 	    (!btrfs_fs_compat_ro(fs_info, FREE_SPACE_TREE_VALID) ||
 	     !btrfs_fs_incompat(fs_info, NO_HOLES))) {
 		btrfs_err(fs_info,
-		"block-group-tree feature requires fres-space-tree and no-holes");
+		"block-group-tree feature requires free-space-tree and no-holes");
 		ret = -EINVAL;
 	}
 
-- 
2.43.0


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

* Re: [PATCH] btrfs: Fix typo in error message
  2024-06-20 15:04 [PATCH] btrfs: Fix typo in error message Mark Harmstone
@ 2024-06-21 10:03 ` Filipe Manana
  2024-06-26 21:51 ` David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: Filipe Manana @ 2024-06-21 10:03 UTC (permalink / raw)
  To: Mark Harmstone; +Cc: linux-btrfs

On Thu, Jun 20, 2024 at 4:05 PM Mark Harmstone <maharmstone@fb.com> wrote:
>
> Signed-off-by: Mark Harmstone <maharmstone@fb.com>

Please provide a change log, no matter how trivial a patch is, it
should always have one.
Something like for example:

"There's a typo in an error message when checking the block group tree feature,
it mentions fres-space-tree instead of free-space-tree. Fix that."

Also, in the subject don't capitalize the first word, it's the style
we follow for all commit subjects.
Could also make the subject less generic like:

btrfs: fix typo in error message when validating the block-group-tree feature

Thanks.

> ---
>  fs/btrfs/disk-io.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
> index d0882536b923..9b1ac0e2cdf3 100644
> --- a/fs/btrfs/disk-io.c
> +++ b/fs/btrfs/disk-io.c
> @@ -2467,7 +2467,7 @@ int btrfs_validate_super(struct btrfs_fs_info *fs_info,
>             (!btrfs_fs_compat_ro(fs_info, FREE_SPACE_TREE_VALID) ||
>              !btrfs_fs_incompat(fs_info, NO_HOLES))) {
>                 btrfs_err(fs_info,
> -               "block-group-tree feature requires fres-space-tree and no-holes");
> +               "block-group-tree feature requires free-space-tree and no-holes");
>                 ret = -EINVAL;
>         }
>
> --
> 2.43.0
>
>

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

* Re: [PATCH] btrfs: Fix typo in error message
  2024-06-20 15:04 [PATCH] btrfs: Fix typo in error message Mark Harmstone
  2024-06-21 10:03 ` Filipe Manana
@ 2024-06-26 21:51 ` David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2024-06-26 21:51 UTC (permalink / raw)
  To: Mark Harmstone; +Cc: linux-btrfs

On Thu, Jun 20, 2024 at 04:04:51PM +0100, Mark Harmstone wrote:
> Signed-off-by: Mark Harmstone <maharmstone@fb.com>

Thanks, I've added the patch to for-next with fixups suggested by
Filipe.

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

end of thread, other threads:[~2024-06-26 21:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 15:04 [PATCH] btrfs: Fix typo in error message Mark Harmstone
2024-06-21 10:03 ` Filipe Manana
2024-06-26 21:51 ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox