Re: [Bug 197817] "Panic: unable to handle kernel page request" in posix_unblock_lock() called from nfs4_laundromat()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Developers:

> https://bugzilla.kernel.org/show_bug.cgi?id=197817
> 
> --- Comment #1 from bfields@xxxxxxxxxxxx ---
> 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@xxxxxxxxxxxx, cc: to
> linux-nfs@xxxxxxxxxxxxxxx).
> 

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: oops_memo.pdf
Description: Adobe PDF document

*** 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: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux