All of lore.kernel.org
 help / color / mirror / Atom feed
From: Naofumi Honda <honda@math.sci.hokudai.ac.jp>
To: bfields@fieldses.org
Cc: linux-nfs@vger.kernel.org, honda@math.sci.hokudai.ac.jp
Subject: Re: [Bug 197817] "Panic: unable to handle kernel page request"  in posix_unblock_lock() called from nfs4_laundromat()
Date: Thu, 09 Nov 2017 10:08:28 +0900	[thread overview]
Message-ID: <1911104.BiqBl0Bicc@nausicaa> (raw)
In-Reply-To: <bug-197817-198953-0whWrJRFSz@https.bugzilla.kernel.org/>


[-- Attachment #1.1: Type: text/plain, Size: 559 bytes --]

Dear Developers:

> https://bugzilla.kernel.org/show_bug.cgi?id=197817
> 
> --- Comment #1 from bfields@fieldses.org ---
> Yes, I think you're right.
> 
> Would it be possible for you to submit a patch to fix that typo in those two
> places?  (Just mail it to me at bfields@fieldses.org, cc: to
> linux-nfs@vger.kernel.org).
> 

OK,  I have attached the patch.

> It might also be useful to see your original oops.

Sorry, I have the only handwriting memo of console messages.
Maybe useless, but I also attach its scanned copy.

Sincerely yours
Naofumi Honda

[-- Attachment #1.2: oops_memo.pdf --]
[-- Type: application/pdf, Size: 40725 bytes --]

[-- Attachment #1.3: fix.patch --]
[-- Type: text/x-patch, Size: 1228 bytes --]

*** linux-4.9.60/fs/nfsd/nfs4state.c.org	2017-11-09 09:49:11.071026183 +0900
--- linux-4.9.60/fs/nfsd/nfs4state.c	2017-11-09 09:51:36.370697280 +0900
***************
*** 4677,4683 ****
  	spin_unlock(&nn->blocked_locks_lock);
  
  	while (!list_empty(&reaplist)) {
! 		nbl = list_first_entry(&nn->blocked_locks_lru,
  					struct nfsd4_blocked_lock, nbl_lru);
  		list_del_init(&nbl->nbl_lru);
  		posix_unblock_lock(&nbl->nbl_lock);
--- 4677,4683 ----
  	spin_unlock(&nn->blocked_locks_lock);
  
  	while (!list_empty(&reaplist)) {
! 		nbl = list_first_entry(&reaplist,
  					struct nfsd4_blocked_lock, nbl_lru);
  		list_del_init(&nbl->nbl_lru);
  		posix_unblock_lock(&nbl->nbl_lock);
***************
*** 7071,7077 ****
  	spin_unlock(&nn->blocked_locks_lock);
  
  	while (!list_empty(&reaplist)) {
! 		nbl = list_first_entry(&nn->blocked_locks_lru,
  					struct nfsd4_blocked_lock, nbl_lru);
  		list_del_init(&nbl->nbl_lru);
  		posix_unblock_lock(&nbl->nbl_lock);
--- 7071,7077 ----
  	spin_unlock(&nn->blocked_locks_lock);
  
  	while (!list_empty(&reaplist)) {
! 		nbl = list_first_entry(&reaplist,
  					struct nfsd4_blocked_lock, nbl_lru);
  		list_del_init(&nbl->nbl_lru);
  		posix_unblock_lock(&nbl->nbl_lock);

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

       reply	other threads:[~2017-11-09  1:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-197817-198953@https.bugzilla.kernel.org/>
     [not found] ` <bug-197817-198953-0whWrJRFSz@https.bugzilla.kernel.org/>
2017-11-09  1:08   ` Naofumi Honda [this message]
2017-11-09 16:07     ` [Bug 197817] "Panic: unable to handle kernel page request" in posix_unblock_lock() called from nfs4_laundromat() J. Bruce Fields
2017-11-09 16:14       ` Jeff Layton

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=1911104.BiqBl0Bicc@nausicaa \
    --to=honda@math.sci.hokudai.ac.jp \
    --cc=bfields@fieldses.org \
    --cc=linux-nfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.