Commit 08c4c90d authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman

staging: lustre: Fix typo in sec_gss.c

This patch fixed spelling typo in comments wihtin sec_gss.c
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c2bc758
...@@ -382,7 +382,7 @@ void gss_cli_ctx_uptodate(struct gss_cli_ctx *gctx) ...@@ -382,7 +382,7 @@ void gss_cli_ctx_uptodate(struct gss_cli_ctx *gctx)
/* At this point this ctx might have been marked as dead by /* At this point this ctx might have been marked as dead by
* someone else, in which case nobody will make further use * someone else, in which case nobody will make further use
* of it. we don't care, and mark it UPTODATE will help * of it. we don't care, and mark it UPTODATE will help
* destroying server side context when it be destroied. */ * destroying server side context when it be destroyed. */
set_bit(PTLRPC_CTX_UPTODATE_BIT, &ctx->cc_flags); set_bit(PTLRPC_CTX_UPTODATE_BIT, &ctx->cc_flags);
if (sec_is_reverse(ctx->cc_sec)) { if (sec_is_reverse(ctx->cc_sec)) {
...@@ -676,7 +676,7 @@ int gss_cli_ctx_sign(struct ptlrpc_cli_ctx *ctx, ...@@ -676,7 +676,7 @@ int gss_cli_ctx_sign(struct ptlrpc_cli_ctx *ctx,
* lead to the sequence number fall behind the window on server and * lead to the sequence number fall behind the window on server and
* be dropped. also applies to gss_cli_ctx_seal(). * be dropped. also applies to gss_cli_ctx_seal().
* *
* Note: null mode dosen't check sequence number. */ * Note: null mode doesn't check sequence number. */
if (svc != SPTLRPC_SVC_NULL && if (svc != SPTLRPC_SVC_NULL &&
atomic_read(&gctx->gc_seq) - seq > GSS_SEQ_REPACK_THRESHOLD) { atomic_read(&gctx->gc_seq) - seq > GSS_SEQ_REPACK_THRESHOLD) {
int behind = atomic_read(&gctx->gc_seq) - seq; int behind = atomic_read(&gctx->gc_seq) - seq;
...@@ -1882,7 +1882,7 @@ int gss_svc_sign(struct ptlrpc_request *req, ...@@ -1882,7 +1882,7 @@ int gss_svc_sign(struct ptlrpc_request *req,
LASSERT(rs->rs_msg == lustre_msg_buf(rs->rs_repbuf, 1, 0)); LASSERT(rs->rs_msg == lustre_msg_buf(rs->rs_repbuf, 1, 0));
/* embedded lustre_msg might have been shrinked */ /* embedded lustre_msg might have been shrunk */
if (req->rq_replen != rs->rs_repbuf->lm_buflens[1]) if (req->rq_replen != rs->rs_repbuf->lm_buflens[1])
lustre_shrink_msg(rs->rs_repbuf, 1, req->rq_replen, 1); lustre_shrink_msg(rs->rs_repbuf, 1, req->rq_replen, 1);
...@@ -2596,7 +2596,7 @@ static int gss_svc_seal(struct ptlrpc_request *req, ...@@ -2596,7 +2596,7 @@ static int gss_svc_seal(struct ptlrpc_request *req,
int msglen, rc; int msglen, rc;
/* get clear data length. note embedded lustre_msg might /* get clear data length. note embedded lustre_msg might
* have been shrinked */ * have been shrunk */
if (req->rq_replen != lustre_msg_buflen(rs->rs_repbuf, 0)) if (req->rq_replen != lustre_msg_buflen(rs->rs_repbuf, 0))
msglen = lustre_shrink_msg(rs->rs_repbuf, 0, req->rq_replen, 1); msglen = lustre_shrink_msg(rs->rs_repbuf, 0, req->rq_replen, 1);
else else
...@@ -2765,7 +2765,7 @@ int gss_copy_rvc_cli_ctx(struct ptlrpc_cli_ctx *cli_ctx, ...@@ -2765,7 +2765,7 @@ int gss_copy_rvc_cli_ctx(struct ptlrpc_cli_ctx *cli_ctx,
* replay. * replay.
* *
* each reverse root ctx will record its latest sequence number on its * each reverse root ctx will record its latest sequence number on its
* buddy svcctx before be destroied, so here we continue use it. * buddy svcctx before be destroyed, so here we continue use it.
*/ */
atomic_set(&cli_gctx->gc_seq, svc_gctx->gsc_rvs_seq); atomic_set(&cli_gctx->gc_seq, svc_gctx->gsc_rvs_seq);
...@@ -2836,7 +2836,7 @@ int __init sptlrpc_gss_init(void) ...@@ -2836,7 +2836,7 @@ int __init sptlrpc_gss_init(void)
if (rc) if (rc)
goto out_svc_upcall; goto out_svc_upcall;
/* register policy after all other stuff be intialized, because it /* register policy after all other stuff be initialized, because it
* might be in used immediately after the registration. */ * might be in used immediately after the registration. */
rc = gss_init_keyring(); rc = gss_init_keyring();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment