linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Schumaker, Anna" <Anna.Schumaker@netapp.com>
To: "trond.myklebust@hammerspace.com"
	<trond.myklebust@hammerspace.com>,
	"santoshkumar.pradhan@wdc.com" <santoshkumar.pradhan@wdc.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
	"davej@codemonkey.org.uk" <davej@codemonkey.org.uk>
Subject: Re: [PATCH] sunrpc: kernel BUG at kernel/cred.c:825!
Date: Thu, 10 Jan 2019 15:53:30 +0000	[thread overview]
Message-ID: <e9fb95ddac73ce50483405ab76c8da13b48146e8.camel@netapp.com> (raw)
In-Reply-To: <20190109163826.2851-1-santoshkumar.pradhan@wdc.com>

On Wed, 2019-01-09 at 22:08 +0530, Santosh kumar pradhan wrote:
> Init missing debug member magic with CRED_MAGIC.
> 
> Signed-off-by: Santosh kumar pradhan <santoshkumar.pradhan@wdc.com>
> Reported-by: Dave Jones <davej@codemonkey.org.uk>

This patch looks good to me, thanks!

Anna

> ---
>  net/sunrpc/auth.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c
> index 1ff9768f5456..f3023bbc0b7f 100644
> --- a/net/sunrpc/auth.c
> +++ b/net/sunrpc/auth.c
> @@ -41,6 +41,9 @@ static unsigned long number_cred_unused;
> 
>  static struct cred machine_cred = {
>         .usage = ATOMIC_INIT(1),
> +#ifdef CONFIG_DEBUG_CREDENTIALS
> +       .magic = CRED_MAGIC,
> +#endif
>  };
> 
>  /*
> --
> 2.20.1
> 

      reply	other threads:[~2019-01-10 15:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-09 16:38 [PATCH] sunrpc: kernel BUG at kernel/cred.c:825! Santosh kumar pradhan
2019-01-10 15:53 ` Schumaker, Anna [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e9fb95ddac73ce50483405ab76c8da13b48146e8.camel@netapp.com \
    --to=anna.schumaker@netapp.com \
    --cc=davej@codemonkey.org.uk \
    --cc=linux-nfs@vger.kernel.org \
    --cc=santoshkumar.pradhan@wdc.com \
    --cc=trond.myklebust@hammerspace.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).