Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2007 21:40:00 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Howard Su <howard0su@gmail.com>
Cc:        fs@freebsd.org
Subject:   Re: call for help on TMPFS
Message-ID:  <20070526194000.GC27289@garage.freebsd.pl>
In-Reply-To: <f126fae00705250906n42f593e5i6992c3e49d38f045@mail.gmail.com>
References:  <f126fae00705250906n42f593e5i6992c3e49d38f045@mail.gmail.com>

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

--yLVHuoLXiP9kZBkt
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 26, 2007 at 12:06:14AM +0800, Howard Su wrote:
> i updated the latest status in http://wiki.freebsd.org/TMPFS with the
> patch. i want some help on the panic. i even don't have idea on how to
> narrow it down. also testing and bug report is welcome.

I think you are missing some cases in lookup where you should add
SAVENAME flag. I'd start from adding this (or similar) assertions:

	KASSERT((ap->a_cnp->cn_flags & SAVENAME), ("No SAVENAME"));

to the following functions:

	tmpfs_create()
	tmpfs_remove()
	tmpfs_mkdir()
	tmpfs_rmdir()
	tmpfs_rename() (assert both: fcnp and tcnp)
	tmpfs_symlink()
	tmpfs_link()

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

--yLVHuoLXiP9kZBkt
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGWI0QForvXbEpPzQRAntBAKDe7O19akBrFqJTM/x1vZFKDlxWsgCcDXld
mhG5oxvNflUaQ6AAEiUZ1f8=
=IekL
-----END PGP SIGNATURE-----

--yLVHuoLXiP9kZBkt--



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