[2/3] Fix spelling error from "elemination" to "elimination"

Message ID f1220eaedbc71ee8d19e35b894c21c161e7a33fc.1620185393.git.sajgloumeau@gmail.com
State New
Headers show
Series
  • Fix spelling errors of words with stem "eliminat"
Related show

Commit Message

Sean Gloumeau May 5, 2021, 4:16 a.m.
Spelling error "elemination" amended to "elimination".

Signed-off-by: Sean Gloumeau <sajgloumeau@gmail.com>
---
 fs/jffs2/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kieran Bingham May 5, 2021, 8:42 a.m. | #1
Hi Sean,

On 05/05/2021 05:16, Sean Gloumeau wrote:
> Spelling error "elemination" amended to "elimination".
> 
> Signed-off-by: Sean Gloumeau <sajgloumeau@gmail.com>

Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

> ---
>  fs/jffs2/debug.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
> index 9d26b1b9fc01..027e4f84df28 100644
> --- a/fs/jffs2/debug.c
> +++ b/fs/jffs2/debug.c
> @@ -354,7 +354,7 @@ __jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info *c,
>  	}
>  
>  #if 0
> -	/* This should work when we implement ref->__totlen elemination */
> +	/* This should work when we implement ref->__totlen elimination */

I wonder if anyone has worked on or is working on eliminating that
ref->__totlen so that this code isn't left as dead-code.


>  	if (my_dirty_size != jeb->dirty_size + jeb->wasted_size) {
>  		JFFS2_ERROR("Calculated dirty+wasted size %#08x != stored dirty + wasted size %#08x\n",
>  			my_dirty_size, jeb->dirty_size + jeb->wasted_size);
>

Patch

diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
index 9d26b1b9fc01..027e4f84df28 100644
--- a/fs/jffs2/debug.c
+++ b/fs/jffs2/debug.c
@@ -354,7 +354,7 @@  __jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info *c,
 	}
 
 #if 0
-	/* This should work when we implement ref->__totlen elemination */
+	/* This should work when we implement ref->__totlen elimination */
 	if (my_dirty_size != jeb->dirty_size + jeb->wasted_size) {
 		JFFS2_ERROR("Calculated dirty+wasted size %#08x != stored dirty + wasted size %#08x\n",
 			my_dirty_size, jeb->dirty_size + jeb->wasted_size);