ceph: fix spelling mistake: "resgister" -> "register"
diff mbox

Message ID 1466689524-1836-1-git-send-email-colin.king@canonical.com
State New
Headers show

Commit Message

Colin King June 23, 2016, 1:45 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistake in pr_err message

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

Comments

Joe Perches June 23, 2016, 4:01 p.m. UTC | #1
On Thu, 2016-06-23 at 14:45 +0100, Colin King wrote:
> trivial fix to spelling mistake in pr_err message
[]
> diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c
[]
> @@ -71,7 +71,7 @@ int ceph_fscache_register_fs(struct ceph_fs_client* fsc)
>  					      &ceph_fscache_fsid_object_def,
>  					      fsc, true);
>  	if (!fsc->fscache)
> -		pr_err("Unable to resgister fsid: %p fscache cookie", fsc);
> +		pr_err("Unable to register fsid: %p fscache cookie", fsc);

Could change to "cookie\n" to avoid possible interleaving
from other messages too.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Yan, Zheng June 24, 2016, 2:15 a.m. UTC | #2
> On Jun 24, 2016, at 00:01, Joe Perches <joe@perches.com> wrote:
> 
> On Thu, 2016-06-23 at 14:45 +0100, Colin King wrote:
>> trivial fix to spelling mistake in pr_err message
> []
>> diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c
> []
>> @@ -71,7 +71,7 @@ int ceph_fscache_register_fs(struct ceph_fs_client* fsc)
>>  					      &ceph_fscache_fsid_object_def,
>>  					      fsc, true);
>>  	if (!fsc->fscache)
>> -		pr_err("Unable to resgister fsid: %p fscache cookie", fsc);
>> +		pr_err("Unable to register fsid: %p fscache cookie", fsc);
> 
> Could change to "cookie\n" to avoid possible interleaving
> from other messages too.

Applied , thanks

Yan, Zheng



--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c
index 238c55b..d0f2b06 100644
--- a/fs/ceph/cache.c
+++ b/fs/ceph/cache.c
@@ -71,7 +71,7 @@  int ceph_fscache_register_fs(struct ceph_fs_client* fsc)
 					      &ceph_fscache_fsid_object_def,
 					      fsc, true);
 	if (!fsc->fscache)
-		pr_err("Unable to resgister fsid: %p fscache cookie", fsc);
+		pr_err("Unable to register fsid: %p fscache cookie", fsc);
 
 	return 0;
 }