diff mbox

jffs2: fix spelling mistake: "requestied" -> "requested"

Message ID 20170223003400.9617-1-colin.king@canonical.com
State Accepted
Delegated to: David Woodhouse
Headers show

Commit Message

Colin Ian King Feb. 23, 2017, 12:34 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistake in JFFS2_ERROR message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 fs/jffs2/readinode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Brian Norris April 19, 2017, 6:36 p.m. UTC | #1
On Thu, Feb 23, 2017 at 12:34:00AM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> trivial fix to spelling mistake in JFFS2_ERROR message
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  fs/jffs2/readinode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c
> index 06a71db..40f3fd4 100644
> --- a/fs/jffs2/readinode.c
> +++ b/fs/jffs2/readinode.c
> @@ -1366,7 +1366,7 @@ int jffs2_do_read_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
>  		jffs2_add_ino_cache(c, f->inocache);
>  	}
>  	if (!f->inocache) {
> -		JFFS2_ERROR("requestied to read an nonexistent ino %u\n", ino);
> +		JFFS2_ERROR("requested to read an nonexistent ino %u\n", ino);

Also:

s/an nonexistent/a nonexisten/

Made that fixup and pushed to l2-mtd.git. Thanks.

Brian

>  		return -ENOENT;
>  	}
>  
> -- 
> 2.10.2
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
Brian Norris April 19, 2017, 6:38 p.m. UTC | #2
On Wed, Apr 19, 2017 at 11:36:34AM -0700, Brian Norris wrote:
> s/an nonexistent/a nonexisten/

Ha, and of course a typo in my correction :) But at least I didn't make
that mistake in the real commit.

Brian
Colin Ian King April 19, 2017, 6:40 p.m. UTC | #3
On 19/04/17 19:38, Brian Norris wrote:
> On Wed, Apr 19, 2017 at 11:36:34AM -0700, Brian Norris wrote:
>> s/an nonexistent/a nonexisten/
> 
> Ha, and of course a typo in my correction :) But at least I didn't make
> that mistake in the real commit.

Easily done :-/
> 
> Brian
> 

Thanks Brian
diff mbox

Patch

diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c
index 06a71db..40f3fd4 100644
--- a/fs/jffs2/readinode.c
+++ b/fs/jffs2/readinode.c
@@ -1366,7 +1366,7 @@  int jffs2_do_read_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
 		jffs2_add_ino_cache(c, f->inocache);
 	}
 	if (!f->inocache) {
-		JFFS2_ERROR("requestied to read an nonexistent ino %u\n", ino);
+		JFFS2_ERROR("requested to read an nonexistent ino %u\n", ino);
 		return -ENOENT;
 	}