2017-07-14 13:26:23

by Colin King

[permalink] [raw]
Subject: [PATCH] staging: lustre: fix spelling mistake, "grranted" -> "granted"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in CERROR error message

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/staging/lustre/lustre/ptlrpc/import.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/ptlrpc/import.c b/drivers/staging/lustre/lustre/ptlrpc/import.c
index 52cb1f0c9c94..99877aa10d6f 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/import.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/import.c
@@ -1026,7 +1026,7 @@ static int ptlrpc_connect_interpret(const struct lu_env *env,
/* check that server granted subset of flags we asked for. */
if ((ocd->ocd_connect_flags & imp->imp_connect_flags_orig) !=
ocd->ocd_connect_flags) {
- CERROR("%s: Server didn't granted asked subset of flags: asked=%#llx grranted=%#llx\n",
+ CERROR("%s: Server didn't granted asked subset of flags: asked=%#llx granted=%#llx\n",
imp->imp_obd->obd_name, imp->imp_connect_flags_orig,
ocd->ocd_connect_flags);
rc = -EPROTO;
--
2.11.0


2017-07-14 20:43:17

by Oleg Drokin

[permalink] [raw]
Subject: Re: [PATCH] staging: lustre: fix spelling mistake, "grranted" -> "granted"


On Jul 14, 2017, at 9:26 AM, Colin King wrote:

> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in CERROR error message
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/staging/lustre/lustre/ptlrpc/import.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/lustre/lustre/ptlrpc/import.c b/drivers/staging/lustre/lustre/ptlrpc/import.c
> index 52cb1f0c9c94..99877aa10d6f 100644
> --- a/drivers/staging/lustre/lustre/ptlrpc/import.c
> +++ b/drivers/staging/lustre/lustre/ptlrpc/import.c
> @@ -1026,7 +1026,7 @@ static int ptlrpc_connect_interpret(const struct lu_env *env,
> /* check that server granted subset of flags we asked for. */
> if ((ocd->ocd_connect_flags & imp->imp_connect_flags_orig) !=
> ocd->ocd_connect_flags) {
> - CERROR("%s: Server didn't granted asked subset of flags: asked=%#llx grranted=%#llx\n",
> + CERROR("%s: Server didn't granted asked subset of flags: asked=%#llx granted=%#llx\n",

While we are at it can also address grammar problem: "didn't granted" -> "didn't grant"?

Thanks!

> imp->imp_obd->obd_name, imp->imp_connect_flags_orig,
> ocd->ocd_connect_flags);
> rc = -EPROTO;
> --
> 2.11.0