Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2007 09:06:18 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Doug Rabson <dfr@rabson.org>
Cc:        Philippe Pegon <Philippe.Pegon@crc.u-strasbg.fr>, current@freebsd.org
Subject:   Re: nfs on zfs panic
Message-ID:  <20070627070618.GC21749@garage.freebsd.pl>
In-Reply-To: <C465AD69-BA88-4B02-90FA-AF8A70742F3B@rabson.org>
References:  <46813AF4.4020004@crc.u-strasbg.fr> <C465AD69-BA88-4B02-90FA-AF8A70742F3B@rabson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGggxqForvXbEpPzQRAtS9AJ0eC1XU1PFoAjnfN2OBqX1ZXRBB6wCg2tf1
nyIfDJBNlLowKulFaytZYqc=
=/rgg
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070627070618.GC21749>