Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1687434 > unrolled thread

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

Started byColin King <colin.king@canonical.com>
First post2017-07-14 15:30 +0200
Last post2017-07-14 22:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] staging: lustre: fix spelling mistake, "grranted" -> "granted" Colin King <colin.king@canonical.com> - 2017-07-14 15:30 +0200
    Re: [PATCH] staging: lustre: fix spelling mistake, "grranted" -> "granted" Oleg Drokin <oleg.drokin@intel.com> - 2017-07-14 22:50 +0200

#1687434 — [PATCH] staging: lustre: fix spelling mistake, "grranted" -> "granted"

FromColin King <colin.king@canonical.com>
Date2017-07-14 15:30 +0200
Subject[PATCH] staging: lustre: fix spelling mistake, "grranted" -> "granted"
Message-ID<u38Pq-413-65@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in CERROR error message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 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

[toc] | [next] | [standalone]


#1687663

FromOleg Drokin <oleg.drokin@intel.com>
Date2017-07-14 22:50 +0200
Message-ID<u3fHb-am-1@gated-at.bofh.it>
In reply to#1687434
On Jul 14, 2017, at 9:26 AM, Colin King wrote:

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web