Message ID | 20250113091846.23813-1-colin.i.king@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [next] btrfs: selftests: Fix spelling mistake "suceeded" -> "succeeded" | expand |
On 13.01.25 10:18, Colin Ian King wrote: > There is a spelling mistake in two test_err messages. Fix them. > > Signed-off-by: Colin Ian King <colin.i.king@gmail.com> > --- > fs/btrfs/tests/raid-stripe-tree-tests.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/btrfs/tests/raid-stripe-tree-tests.c b/fs/btrfs/tests/raid-stripe-tree-tests.c > index 6c7e561e5564..6747350a05f5 100644 > --- a/fs/btrfs/tests/raid-stripe-tree-tests.c > +++ b/fs/btrfs/tests/raid-stripe-tree-tests.c > @@ -315,7 +315,7 @@ static int test_delete_two_extents(struct btrfs_trans_handle *trans) > ret = btrfs_get_raid_extent_offset(fs_info, logical1, &len1, map_type, > 0, &io_stripe); > if (ret != -ENODATA) { > - test_err("lookup of RAID extent [%llu, %llu] suceeded, should fail\n", > + test_err("lookup of RAID extent [%llu, %llu] succeeded, should fail\n", > logical1, len1); > goto out; > } > @@ -323,7 +323,7 @@ static int test_delete_two_extents(struct btrfs_trans_handle *trans) > ret = btrfs_get_raid_extent_offset(fs_info, logical2, &len2, map_type, > 0, &io_stripe); > if (ret != -ENODATA) { > - test_err("lookup of RAID extent [%llu, %llu] suceeded, should fail\n", > + test_err("lookup of RAID extent [%llu, %llu] succeeded, should fail\n", > logical2, len2); > goto out; > } Oops, thanks. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
diff --git a/fs/btrfs/tests/raid-stripe-tree-tests.c b/fs/btrfs/tests/raid-stripe-tree-tests.c index 6c7e561e5564..6747350a05f5 100644 --- a/fs/btrfs/tests/raid-stripe-tree-tests.c +++ b/fs/btrfs/tests/raid-stripe-tree-tests.c @@ -315,7 +315,7 @@ static int test_delete_two_extents(struct btrfs_trans_handle *trans) ret = btrfs_get_raid_extent_offset(fs_info, logical1, &len1, map_type, 0, &io_stripe); if (ret != -ENODATA) { - test_err("lookup of RAID extent [%llu, %llu] suceeded, should fail\n", + test_err("lookup of RAID extent [%llu, %llu] succeeded, should fail\n", logical1, len1); goto out; } @@ -323,7 +323,7 @@ static int test_delete_two_extents(struct btrfs_trans_handle *trans) ret = btrfs_get_raid_extent_offset(fs_info, logical2, &len2, map_type, 0, &io_stripe); if (ret != -ENODATA) { - test_err("lookup of RAID extent [%llu, %llu] suceeded, should fail\n", + test_err("lookup of RAID extent [%llu, %llu] succeeded, should fail\n", logical2, len2); goto out; }
There is a spelling mistake in two test_err messages. Fix them. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> --- fs/btrfs/tests/raid-stripe-tree-tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)