linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs: fixed rudimentary typos
@ 2021-03-25  4:21 Bhaskar Chowdhury
  2021-03-25 12:49 ` David Sterba
  0 siblings, 1 reply; 5+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-25  4:21 UTC (permalink / raw)
  To: clm, josef, dsterba, linux-btrfs, linux-kernel; +Cc: rdunlap, Bhaskar Chowdhury


s/contaning/containing
s/clearning/clearing/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 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


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

* Re: [PATCH] btrfs: fixed rudimentary typos
  2021-03-25  4:21 [PATCH] btrfs: fixed rudimentary typos Bhaskar Chowdhury
@ 2021-03-25 12:49 ` David Sterba
  2021-03-25 18:10   ` Bhaskar Chowdhury
  0 siblings, 1 reply; 5+ messages in thread
From: David Sterba @ 2021-03-25 12:49 UTC (permalink / raw)
  To: Bhaskar Chowdhury; +Cc: clm, josef, dsterba, linux-btrfs, linux-kernel, rdunlap

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.

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

* Re: [PATCH] btrfs: fixed rudimentary typos
  2021-03-25 12:49 ` David Sterba
@ 2021-03-25 18:10   ` Bhaskar Chowdhury
  2021-03-25 21:47     ` David Sterba
  0 siblings, 1 reply; 5+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-25 18:10 UTC (permalink / raw)
  To: dsterba, clm, josef, dsterba, linux-btrfs, linux-kernel, rdunlap

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

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 .

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [PATCH] btrfs: fixed rudimentary typos
  2021-03-25 18:10   ` Bhaskar Chowdhury
@ 2021-03-25 21:47     ` David Sterba
  2021-03-25 23:55       ` Bhaskar Chowdhury
  0 siblings, 1 reply; 5+ messages in thread
From: David Sterba @ 2021-03-25 21:47 UTC (permalink / raw)
  To: Bhaskar Chowdhury, dsterba, clm, josef, dsterba, linux-btrfs,
	linux-kernel, rdunlap

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.

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

* Re: [PATCH] btrfs: fixed rudimentary typos
  2021-03-25 21:47     ` David Sterba
@ 2021-03-25 23:55       ` Bhaskar Chowdhury
  0 siblings, 0 replies; 5+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-25 23:55 UTC (permalink / raw)
  To: dsterba, clm, josef, dsterba, linux-btrfs, linux-kernel, rdunlap

[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2021-03-25 23:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25  4:21 [PATCH] btrfs: fixed rudimentary typos Bhaskar Chowdhury
2021-03-25 12:49 ` David Sterba
2021-03-25 18:10   ` Bhaskar Chowdhury
2021-03-25 21:47     ` David Sterba
2021-03-25 23:55       ` Bhaskar Chowdhury

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).