Subject: Re: Redoing file system suspension API (update)
To: None <email@example.com>
From: Bill Studenmund <firstname.lastname@example.org>
Date: 06/21/2006 14:43:26
Content-Type: text/plain; charset=us-ascii
On Wed, Jun 21, 2006 at 04:05:53PM +0200, Juergen Hannken-Illjes wrote:
> On Wed, Jun 21, 2006 at 09:45:36PM +0900, YAMAMOTO Takashi wrote:
> > i think it's better not to take the gate multiple times.
> Ok, is it sufficient to track nd.ni_dvp in lookup() and move to nd.ni_vp =
> it has a different mount (this is namei() on a mount point, should be the=
> case where nd.ni_vp->v_mount !=3D nd.ni_dvp->v_mount)?
As indicated in sys_unlink(), you can't delete the root of a file system.=
So if the two mount points differ, you aren't doing the removal.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
-----END PGP SIGNATURE-----