2022-08-18 07:56:57

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] btrfs: Fix spelling mistake "deivce" -> "device"

There is a spelling mistake in a btrfs_info message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
fs/btrfs/dev-replace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c
index 7202b76ce59f..773f1caab126 100644
--- a/fs/btrfs/dev-replace.c
+++ b/fs/btrfs/dev-replace.c
@@ -167,7 +167,7 @@ int btrfs_init_dev_replace(struct btrfs_fs_info *fs_info)
btrfs_err(fs_info,
"replace devid present without an active replace item");
btrfs_info(fs_info,
- "mount after the command 'btrfs deivce scan --forget <devpath-of-id-0>'");
+ "mount after the command 'btrfs device scan --forget <devpath-of-id-0>'");
ret = -EUCLEAN;
} else {
dev_replace->srcdev = NULL;
--
2.37.1


2022-08-23 21:02:23

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH][next] btrfs: Fix spelling mistake "deivce" -> "device"

On Thu, Aug 18, 2022 at 08:55:37AM +0100, Colin Ian King wrote:
> There is a spelling mistake in a btrfs_info message. Fix it.

Thanks, I've fixed the typo and reworded the message in the original
patch.