2021-03-25 04:25:16

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] btrfs: fixed rudimentary typos


s/contaning/containing
s/clearning/clearing/

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
fs/btrfs/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 7cdf65be3707..e0c08176bc18 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -2784,8 +2784,8 @@ static int insert_reserved_file_extent(struct btrfs_trans_handle *trans,
/*
* If we dropped an inline extent here, we know the range where it is
* was not marked with the EXTENT_DELALLOC_NEW bit, so we update the
- * number of bytes only for that range contaning the inline extent.
- * The remaining of the range will be processed when clearning the
+ * number of bytes only for that range containing the inline extent.
+ * The remaining of the range will be processed when clearing the
* EXTENT_DELALLOC_BIT bit through the ordered extent completion.
*/
if (file_pos == 0 && !IS_ALIGNED(drop_args.bytes_found, sectorsize)) {
--
2.30.1


2021-03-25 12:53:45

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH] btrfs: fixed rudimentary typos

On Thu, Mar 25, 2021 at 09:51:13AM +0530, Bhaskar Chowdhury wrote:
>
> s/contaning/containing
> s/clearning/clearing/

Have hou scanned the whole subdirectory for typos? We do typo fixing
about once a year in one big patch and won't fix them one by one.

2021-03-25 18:13:14

by Bhaskar Chowdhury

[permalink] [raw]
Subject: Re: [PATCH] btrfs: fixed rudimentary typos

On 13:49 Thu 25 Mar 2021, David Sterba wrote:
>On Thu, Mar 25, 2021 at 09:51:13AM +0530, Bhaskar Chowdhury wrote:
>>
>> s/contaning/containing
>> s/clearning/clearing/
>
>Have hou scanned the whole subdirectory for typos? We do typo fixing
>about once a year in one big patch and won't fix them one by one.

Once a year???? You must be kidding! that is not good whatever the workflow
you have .


Attachments:
(No filename) (406.00 B)
signature.asc (499.00 B)
Download all attachments

2021-03-25 21:53:00

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH] btrfs: fixed rudimentary typos

On Thu, Mar 25, 2021 at 11:40:04PM +0530, Bhaskar Chowdhury wrote:
> On 13:49 Thu 25 Mar 2021, David Sterba wrote:
> >On Thu, Mar 25, 2021 at 09:51:13AM +0530, Bhaskar Chowdhury wrote:
> >>
> >> s/contaning/containing
> >> s/clearning/clearing/
> >
> >Have hou scanned the whole subdirectory for typos? We do typo fixing
> >about once a year in one big patch and won't fix them one by one.
>
> Once a year???? You must be kidding! that is not good whatever the workflow
> you have .

No kidding. It's even worse, we get that every two years.

* 2016 0132761017e012ab4dc8584d679503f2ba26ca86
33 files changed, 106 insertions(+), 105 deletions(-)

* 2018 52042d8e82ff50d40e76a275ac0b97aa663328b0
25 files changed, 70 insertions(+), 69 deletions(-)

You can see the diffstat touches nearly all the files, almost hundred of
fixed typos per patch. Now compare that to sending 70-100 individual
patches. Time spent on any patch is not zero and for such trivial
changes it's not justified so the workflow is to do that in batches.
If you care about fixing typos in fs/btrfs/, please fix them all. I've
found about 50.

2021-03-25 23:58:25

by Bhaskar Chowdhury

[permalink] [raw]
Subject: Re: [PATCH] btrfs: fixed rudimentary typos

On 22:47 Thu 25 Mar 2021, David Sterba wrote:
>On Thu, Mar 25, 2021 at 11:40:04PM +0530, Bhaskar Chowdhury wrote:
>> On 13:49 Thu 25 Mar 2021, David Sterba wrote:
>> >On Thu, Mar 25, 2021 at 09:51:13AM +0530, Bhaskar Chowdhury wrote:
>> >>
>> >> s/contaning/containing
>> >> s/clearning/clearing/
>> >
>> >Have hou scanned the whole subdirectory for typos? We do typo fixing
>> >about once a year in one big patch and won't fix them one by one.
>>
>> Once a year???? You must be kidding! that is not good whatever the workflow
>> you have .
>
>No kidding. It's even worse, we get that every two years.
>
>* 2016 0132761017e012ab4dc8584d679503f2ba26ca86
> 33 files changed, 106 insertions(+), 105 deletions(-)
>
>* 2018 52042d8e82ff50d40e76a275ac0b97aa663328b0
> 25 files changed, 70 insertions(+), 69 deletions(-)
>
>You can see the diffstat touches nearly all the files, almost hundred of
>fixed typos per patch. Now compare that to sending 70-100 individual
>patches. Time spent on any patch is not zero and for such trivial
>changes it's not justified so the workflow is to do that in batches.
>If you care about fixing typos in fs/btrfs/, please fix them all. I've
>found about 50.

I certainly do , not only for btrfs but for the whole kernel, it might sound
ridiculous , but someone has to bell the cat , right?

If I get little cooperation from everyone , we can pull it through, it would
be good for the future generation.


Attachments:
(No filename) (1.43 kB)
signature.asc (499.00 B)
Download all attachments