Re: nfs on zfs panic

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Wed, 27 Jun 2007 09:06:18 +0200
On Tue, Jun 26, 2007 at 06:10:44PM +0100, Doug Rabson wrote:
> It looks like nvp is NULL at the point where it crashed. Looking at the zfs code, zfs_vget always returns zero, even if it failed to find a vnode which matches the given 
> 'inode' number. Try changing the return statement in zfs_vget from 'return (0)' to 'return (err)'.

Your analysis is correct, can you commit this?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Wed Jun 27 2007 - 05:06:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC