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

From: Oleg Drokin
Date: Fri Jul 14 2017 - 16:43:21 EST



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

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Trivial fix to spelling mistake in CERROR error message
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> 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