NetBSD-Bugs archive

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

Re: kern/46221: Kernel panic in NFS server code



The following reply was made to PR kern/46221; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/46221: Kernel panic in NFS server code
Date: Fri, 23 Mar 2012 15:11:02 +0000

 On Fri, Mar 23, 2012 at 09:05:04AM +0000, J. Hannken-Illjes wrote:
  >  Please try the attached diff that changes vn_lock() to return an invalid
  >  vnode only if the caller requested it by setting LK_RETRY.
 
 Is this really what we want? Most callers of vn_lock don't check for
 error.
 
 Also, it seems bogus for the vnode to be cleaned while we're holding a
 reference to it.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index